150
Basic IP Routing Configuration
---------------------------------------------------------------------
* 127.0.0.1/32 local 0 LHG n/a
* 172.16.40.77/32 local 0 LHG n/a
* 172.17.100.210/32 local 0 LHG n/a
* 172.17.100.0/24 wan local 1 UL 0
* 20.0.0.0/24 172.17.100.2 static 0 U 0
* 172.16.0.0/16 lan local 1 UL 6
17.6 Examples
17.6.1 Basic Static IP Routing Example
Figure 17-1 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
.
Software Configuration Guide, Revision 1.03
Figure 17-1: Internetwork with three routers and four networks
The necessary routing-table entries for the scenario described are listed below.
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 Nexthop Protocol Metric Flags Used
Summary of Contents for SmartWare R2.00
Page 2: ......