Open the CD with book 6th practice "06 Publish static routes to dynamic routes. PKT", as shown in Figure 6-22, Hebei Normal University and the Software Institute have their own independent network, there is an independent IT department to manage their own network. Router1 is an export that accesses the Internet. Hebei Normal University's internal network configuration EIGRP protocol, can be considered a homemade system. Software College's internal network configuration RIP protocol, can be considered a homemade system. Router3 a router that simulates the Internet, PC4 a computer that simulates the Internet.
▲ Fig. 6-22 The network topology of the static Routing and Republishing experiment
1. Experimental environment
The computers and routers in the network have been configured with the address configuration shown in Figure 6-22.
Router3 has added routes to 172.16.0.0/16 and 10.0.0.0/8 network segments.
The EIGRP protocol is configured for ROUTER0, Router1, and Router2.
RIP protocols are configured for ROUTER5, ROUTER6, and Router7.
2. Experimental requirements
Router1 is the border router of Hebei Normal University, which needs to be added to the static route of the 10.0.0.0/16 network segment and the default route to the Internet on Router1. Then let Router1 use EIGRP to send these two static routes to Router0 and Router2.
ROUTER5 is the Software institute's border router, you need to add a default route to Router5, and then let Router5 use RIP to advertise the default route to Router6 and Router7.
3. Operation Steps
(1) Add a static route and view the routing table on the Router1.
Router1 (config) #ip route 10.0.0.0 255.0.0.0 serial 6/0--static routes to interfaces
Router1 (config) #ip Route 0.0.0.0 0.0.0.0 serial 7/0--static routes to interfaces
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/
Static routes that point to an interface should be used only on point-to-point link interfaces. Because on other interfaces, the router will not know the exact address to send the information to. On a point-to-point interface, information is sent only to the End-to-end device on the network. This adds a route management distance of 0, which is equivalent to the network segment of the router, so the network segment can be advertised through a dynamic routing protocol. There is absolutely no way to write down the IP address of the next hop.
Router1#show IP route
Gateway of last resort are 0.0.0.0 to network 0.0.0.0
S 10.0.0.0/8 is directly connected, serial6/0--The default route, equivalent to a direct-attached network
40.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 40.0.0.0/8 is a summary, 00:47:33, Null0
C 40.0.0.0/30 is directly connected, serial6/0
131.107.0.0/30 is subnetted, 1 subnets
C 131.107.0.0 is directly connected, serial7/0
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
D 172.16.0.0/16 is a summary, 00:47:33, Null0
D 172.16.0.0/24 [90/20514560] via 172.16.1.1, 00:47:33, serial3/0
C 172.16.1.0/24 is directly connected, serial3/0
C 172.16.2.0/24 is directly connected, serial2/0
D 172.16.3.0/24 [90/20514560] via 172.16.2.2, 00:47:33, serial2/0
S* 0.0.0.0/0 is directly connected, serial7/0--The default route, equivalent to a direct-attached network
(2) Modify the EIGRP configuration on the Route1 to get to the routing and default routing notices of the 10.0.0.0 Class A network.
Router1 (config) #router EIGRP 10
Router1 (config-router) #network 10.0.0.0
Router1 (config-router) #network 0.0.0.0
(3) Add a static route on the ROUTER5 and modify the RIP to exit the default routing notice.
Router5 (config) #ip Route 0.0.0.0 0.0.0.0 serial 2/0
Router5 (config) #router rip
Router5 (config-router) #network 0.0.0.0
(4) View the routing table on the Router0.
Router0#show IP route
Gateway of last resort are 172.16.1.2 to network 0.0.0.0
D 10.0.0.0/8 [90/21024000] via 172.16.1.2, 00:01:50, serial2/0
--The route to the Software Institute
D 40.0.0.0/8 [90/21024000] via 172.16.1.2, 00:52:00, serial2/0
D 131.107.0.0/16 [90/21024000] via 172.16.1.2, 00:01:50, serial2/0
172.16.0.0/24 is subnetted, 4 subnets
C 172.16.0.0 is directly connected, fastethernet0/0
C 172.16.1.0 is directly connected, serial2/0
D 172.16.2.0 [90/21024000] via 172.16.1.2, 00:52:00, serial2/0
D 172.16.3.0 [90/21026560] via 172.16.1.2, 00:52:00, serial2/0
d* 0.0.0.0/0 [90/21024000] via 172.16.1.2, 00:01:50, serial2/0
--default route to the Internet
The internal router of Hebei Normal University learns the default route to the Internet and the static route to the Software Institute through the eigrp of the boundary router Router1 notice.
(5) View the routing table on the ROUTER6.
Router6#show IP route
Gateway of last resort are 10.0.1.1 to network 0.0.0.0
10.0.0.0/24 is subnetted, 4 subnets
C 10.0.1.0 is directly connected, serial2/0
R 10.0.2.0 [120/1] via 10.0.1.1, 00:00:26, serial2/0
C 10.0.3.0 is directly connected, fastethernet0/0
R 10.0.4.0 [120/2] via 10.0.1.1, 00:00:26, serial2/0
R 40.0.0.0/8 [120/1] via 10.0.1.1, 00:00:26, serial2/0
r* 0.0.0.0/0 [120/1] via 10.0.1.1, 00:00:26, serial2/0--The default route learned
The internal router of the Software Institute learns the default route of the boundary router Router5 advertisement through the RIP protocol.
(6) Trace the packet path to the PC1 on the PC0.
Pc>tracert 10.0.3.2
(7) Tracking packets arriving at PC4 on the PC0.
Pc>tracert 12.0.0.2