EasyManua.ls Logo

Netgate 5100 - Page 56

Netgate 5100
66 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Product Manual, TNSR 19.02
Configure Interface Addresses in TNSR
Now that the TNSR CLI is open, start configuring the TNSR instance. First, configure the network interfaces and
bring them up.
In TNSR, type show interface to view the interface configurations. Here’s an example of what will appear:
TNSR-Instance1 tnsr# show interface
Interface: NetVSC2
Admin status: down
Link down, 100 Mbit/sec, full duplex
Link MTU: 9206 bytes
MAC address: 00:0d:3a:41:f6:b1
IPv4 Route Table: ipv4-VRF:0
IPv6 Route Table: ipv6-VRF:0
counters:
received: 0 bytes, 0 packets, 0 errors
transmitted: 0 bytes, 0 packets, 0 errors
0 drops, 0 punts, 0 rx miss, 0 rx no buffer
Interface: NetVSC3
Admin status: down
Link down, 100 Mbit/sec, full duplex
Link MTU: 9206 bytes
MAC address: 00:0d:3a:41:f7:20
IPv4 Route Table: ipv4-VRF:0
IPv6 Route Table: ipv6-VRF:0
counters:
received: 0 bytes, 0 packets, 0 errors
transmitted: 0 bytes, 0 packets, 0 errors
0 drops, 0 punts, 0 rx miss, 0 rx no buffer
The interface order follows the same order NICs were passed to parameter --nics to az vm create at Launch
an Instance. In this guide, the VM has NetVSC2 as WAN and NetVSC3 as LAN.
During the process of creating Network Interfaces, a private IP address was assigned to each interface. We will
configure those addresses on the interfaces in TNSR in order to communicate with other instances in the Virtual
Network.
Configure WAN interface:
1. Discover assigned IP address in the Azure CLI.
$ az network nic show \
-g TNSR-Resource-Group \
-n TNSR-WAN-nic \
--query "ipConfigurations[].privateIpAddress" \
-o tsv
10.5.0.4
2. Configure the interface in the TNSR CLI.
TNSR-Instance1 tnsr# configure
TNSR-Instance1 tnsr(config)# interface NetVSC2
TNSR-Instance1 tnsr(config-interface)# ip address 10.5.0.4/24
TNSR-Instance1 tnsr(config-interface)# enable
TNSR-Instance1 tnsr(config-interface)# description TNSR-Instance1 WAN
TNSR-Instance1 tnsr(config-interface)# exit
1.2. Cloud Platforms 54