ip nat outside source static X Y add-route

From: Bit Gossip (bit.gossip@chello.nl)
Date: Sat Aug 04 2007 - 12:11:36 ART


Group,
sometimes the add-route option is very important because global address may
not be known to the local router.
This option add a static route as from the attached sample. This static route
is generated by the system, not configured by us; is it accepted anyway,
because if the script check for static route in the routing table it will find
one even if it has not been configured by us. Or will we loose the points?
Thanks,
bit.

R1#show run | i nat
 ip nat outside
ip nat outside source static 155.1.0.4 155.1.100.4 add-route
R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static
route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     155.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 155.1.0.0/24 is directly connected, Serial0/0
S 155.1.100.4/32 [1/0] via 155.1.0.4



This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:09 ART