Product Manual, TNSR 19.02
The output shows that the interfaces are up and configured, and the counters show that a few packets have been
received.
It is now possible to verify connectivity with the ping command from the TNSR CLI.
TNSR-Instance1 tnsr# ping www.netgate.com
PING www.netgate.com (208.123.73.73) 56(84) bytes of data.
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=1 ttl=49 time=19.6 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=2 ttl=49 time=19.5 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=3 ttl=49 time=19.4 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=4 ttl=49 time=20.1 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=5 ttl=49 time=19.5 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=6 ttl=49 time=19.5 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=7 ttl=49 time=19.6 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=8 ttl=49 time=19.6 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=9 ttl=49 time=19.5 ms
64 bytes from www.netgate.com (208.123.73.73): icmp_seq=10 ttl=49 time=19.5 ms
--- www.netgate.com ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9014ms
rtt min/avg/max/mdev = 19.435/19.616/20.136/0.262 ms
Configure Default Route in TNSR
In order for the TNSR data plane to forward packets outside of the VPC to the Internet, a default route needs to be
configured which sets a next hop of the VPC gateway for the WAN subnet using the TNSR CLI.
Configure a default route by typing the commands in TNSR as shown below.
TNSR-Instance1 tnsr# configure
TNSR-Instance1 tnsr(config)# route ipv4 table ipv4-VRF:0
TNSR-Instance1 tnsr(config-route-table-v4)# route 0.0.0.0/0
TNSR-Instance1 tnsr(config-rttbl4-next-hop)# next-hop 1 via 10.5.0.1 NetVSC2
TNSR-Instance1 tnsr(config-rttbl4-next-hop)# exit
TNSR-Instance1 tnsr(config-route-table-v4)# exit
TNSR-Instance1 tnsr(config)# exit
TNSR-Instance1 tnsr#
Ping TNSR WAN Interface from local Network
The instance should now be reachable via ICMP echo request (ping) using the Public IP Address associated to the
TNSR WAN Interface.
To find the Public IP address associated to the TNSR WAN Interface, run:
$ az network public-ip show \
-n TNSR-WAN-IP \
-g TNSR-Resource-Group \
--query "{ipAddress:ipAddress}" \
--output tsv
Now, try to ping the Public IP Address of the TNSR WAN Interface.
$ ping -c 5 40.122.49.143
PING 40.122.49.143 (40.122.49.143) 56(84) bytes of data.
64 bytes from 40.122.49.143: icmp_seq=1 ttl=49 time=19.9 ms
(continues on next page)
1.2. Cloud Platforms 56