For the interconnect switch to route the newly created subnet for the VNET, the route must be created on the interconnect switch.
Complete the following steps to create a route on the interconnect switch:
- Establish an SSH session with the the interconnect switch.
- Run the following command:
sudo /usr/share/tacp/export_bgp_route.sh add 100.127.4.0 24 100.65.0.29
Command: export_bgp_route.sh {add|del} {VNET Network} {VNET CIDR} {Outside NFV IP}
manager@Interconnect-Primary:~$ sudo /usr/share/tacp/export_bgp_route.sh add 100.127.4.0 24 100.65.0.29
Synchronizing configuration...OK.
Pica8 PicOS Version 2.11.5.tacp.1
Welcome to PicOS on Interconnect-Primary
root@Interconnect-Primary>Execute command: configure.
Entering configuration mode.
There are no other users in configuration mode.
Execute command: set protocols static route 100.127.4.0/24 next-hop 100.65.0.29.
Execute command: commit
.
Commit OK.
Save done.
Synchronizing configuration...OK.
Pica8 PicOS Version 2.11.5.tacp.1
Execute command: configure.
Entering configuration mode.
There are no other users in configuration mode.
Execute command: set protocols bgp network4 100.127.4.0/24.
Execute command: commit
.
Commit OK.
Save done.
For a dual interconnect configuration, the command needs to be run on both interconnect switches.
- Exit.