Locate Interfaces¶
The next step is to decide the purpose for which TNSR will use each interface.
First, look at the list of interfaces:
tnsr# show interface
Interface: GigabitEthernet0/14/1
[...]
Interface: GigabitEthernet0/14/2
[...]
Interface: local0
[...]
In the above shortened output, there are two viable interfaces,
GigabitEthernet0/14/1
and GigabitEthernet0/14/2
. These can be used for
any purpose, so map them as needed for the design of the network for which TNSR
will be routing.
The example configuration for this network is:
Interface |
Function |
IP Address |
Gateway |
---|---|---|---|
GigabitEthernet0/14/1 |
WAN |
203.0.113.2/24
2001:db8:0:2::2/64
|
203.0.113.1
2001:db8:0:2::1
|
GigabitEthernet0/14/2 |
LAN |
10.2.0.1/24
2001:db8:1::1/64
|
n/a |
Connect the interfaces on the router hardware to the appropriate networks at layer 1 and layer 2, for example by plugging the WAN into an Internet circuit and the LAN into a local switch. If TNSR is plugged into a managed switch, ensure that its ports are configured for the appropriate VLANs.
Tip
These interface names can be set to custom values. See Customizing Interface Names for details.