SmartWare Software Configuration Guide
Examples
Basic static IP routing example
Figure 42
shows an Internetwork consisting of three routers, a SmartNode device in the middle, and the four
autonomous networks, with network addresses 10.1.5.0/16, 172.16.40.0/24, 172.17.100.0/24, and 10.2.5.0/
16. The SmartNode shall be configured for the following IP routing scenario:
All packets for the Workstation with IP address 10.1.5.10 shall be forwarded to the next-hop router Calvin. All
packets for network 10.2.5.0/16 shall be forwarded to the next-hop router Hobbes.
The necessary routing-table entries for the scenario described are listed below.
SN>enable
SN#configure
SN(cfg)#context ip router
SN(ctx-ip)[router]# route 10.1.5.10 255.255.255.255 172.16.40.2
SN(ctx-ip)[router]# route 10.2.0.0 255.255.0.0 172.17.100.2
SN>show ip route
Routes of IP context 'router':
Status codes: * valid, U up, H host, G Gateway, L local, D default
Destination
---------------------------------------------------------------------
* 127.0.0.1/32
* 172.16.40.1/24
* 172.17.100.1/24
* 172.17.100.0/24
* 172.16.40.0/16
* 10.1.5.10/32
* 10.2.0.0/16
Examples
Figure 42. Internetwork with three routers and four networks
Nexthop
wan
lan
172.16.40.2
172.17.100.2
15 • Basic IP routing configuration
Protocol
Metric
Flags
local
0
LHG
local
0
LHG
local
0
LHG
local
1
UL
local
1
UL
static
0
U
static
0
U
Used
n/a
n/a
n/a
0
0
0
0
181
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?