Information Technology Reference
In-Depth Information
To configure a default static route, use the following syntax:
Router(config)# ip route 0.0.0.0 0.0.0.0 { ip-address | interface }
Configure the R1 router with a default route.
Step 1.
Configure the R1 router with a default route using the Serial 0/0/0 interface of R1 as the
next-hop interface.
R1(config)# ip route 0.0.0.0 0.0.0.0 serial 0/0/0
View the routing table to verify the new static route entry.
Step 2.
R1# show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is 172.16.2.2 to network 0.0.0.0
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.2.0 is directly connected, Serial0/0/0
C 172.16.3.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 is directly connected, Serial0/0/0
Note that the R1 router now has a default route, the gateway of last resort , and will send
all unknown traffic out Serial 0/0/0, which is connected to R2.
Use ping to check connectivity between the host PC2 and PC1.
Step 3.
From the host PC2, is it possible to ping PC1? yes
The ping should be successful this time because the R1 router can return the packet using
the default route.
From the host PC3, is it possible to ping the host PC1? no
Is there a route to the 172.16.3.0 network in the routing table on the R3 router? no
Task 11: Configure a Summary Static Route
You could configure another static route on R3 for the 172.16.3.0 network. However, you already have
two static routes to 172.16.2.0/24 and 172.16.1.0/24. Because these networks are so close together,
you can summarize them into one route. Again, doing this helps reduce the size of routing tables,
which makes the route lookup process more efficient.
Search WWH ::




Custom Search