Re-release of OSPF and OSPF routes
Open the exercise "07 OSPF and OSPF route re-release. pkt" in Chapter 6th on the CD. The network topology is 6-24, And the routers and computers in the network have been configured according to the address shown in the figure below. Router0 and Router1 run OSPF and both work in area 0. Router1 and Router2 run the OSPF protocol.
You need to configure Router1 to advertise the Routes learned by the OSPF protocol to Router0, and configure Router1 to advertise the Routes learned by OSPF to Router2 through the OSPF protocol.
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; 674px; padding-right: 0px; height: 300px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" clip_image001 "border =" 0 "alt =" clip_image001 "src =" http://www.bkjia.com/uploads/allimg/131227/011U53325-0.png "width =" 674 "height =" 300 "/>
▲Figure 6-24 network topology of the re-release of OSPF and OSPF routes
The procedure is as follows.
1) view the route table on Router0, Router1, and Router2, run the show ip route command, and observe the route table. The Router1 route table has routes to all networks.
2) configure the release of OSPF on Router1.
Router1config) # router ospf 1
Router1config-router) # redistribute VPN 10 metric 30 metric-type 1 subnets
The preceding Command Re-allocates the Routes learned by the OSPF 10 into OSPF process 1. The measurement part of the command allocates a measurement value for each re-allocated route. The measurement value is OSPF value of 30. Re-allocate the ASBR that makes Router1 an OSPF domain. The route is advertised as an external route. The metric-type command specifies that the external route type is E1. The keyword subnets is used only when OSPF publishes a route. It specifies the details of the re-allocated subnet. If it is not, only the primary network address is re-allocated.
3) Configure to publish OSPF to the OSPF network on router1.
Router1config) # fig 10
Router1config-router) # redistribute ospf 1 metric 10000 100 255 1 1500
The preceding Command Re-allocates the Routes learned by OSPF to the source node of the source node.
4) view the route table on Router0.
Router0 # show ip route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 2 subnets
C 10.0.0.0 is directly connected, serial/0
O 10.0.0.4 [110/1562] via 10.0.0.2, 00:25:23, serial/0
172.16.0.0/24 is subnetted, 3 subnets
C 172.16.0.0 is directly connected, FastEthernet0/0
C 172.16.1.0 is directly connected, FastEthernet1/0
C 172.16.2.0 is directly connected, FastEthernet6/0
O E1 192.168.0.0/24 [110/811] via 10.0.0.2, 00:03:04, serial/0
-- OSPF external route
5) view the route table on Router2.
Router2 # show ip route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
D 10.0.0.0/8 is a summary, 04:13:01, Null0
D 10.0.0.0/30 [90/21024000] via 10.0.0.5, 04:13:01, seri_3/0
C 10.0.0.4/30 is directly connected, seri_3/0
172.16.0.0/24 is subnetted, 3 subnets
D ex 172.16.0.0 [170/20537600] via 10.0.0.5, 00:48:00, seri_3/0
-- External routing of the OSPF protocol
D ex 172.16.1.0 [170/20537600] via 10.0.0.5, 00:48:00, seri_3/0
-- External routing of the OSPF protocol
D ex 172.16.2.0 [170/20537600] via 10.0.0.5, 00:48:00, seri_3/0
-- External routing of the OSPF protocol
C 192.168.0.0/24 is directly connected, FastEthernet0/0
You can see the OSPF route published by the network through the network. The measurement value is 170.
Advertisement
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; 679px; padding-right: 0px; height: 201px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" titel263 "border =" 0 "alt =" titel263 "src =" http://www.bkjia.com/uploads/allimg/131227/011U512F-1.jpg "width =" 679 "height =" 201 "/>
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; 676px; padding-right: 0px; height: 300px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" 12353 "border =" 0 "alt =" 12353 "src =" http://www.bkjia.com/uploads/allimg/131227/011U53I9-2.jpg "width =" 676 "height =" 300 "/>
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; 676px; padding-right: 0px; height: 359px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" system63 "border =" 0 "alt =" system63 "src =" http://www.bkjia.com/uploads/allimg/131227/011U51S3-3.jpg "width =" 676 "height =" 359 "/>
650) this. width = 650; "style =" background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; 672px; padding-right: 0px; height: 561px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" system373 "border =" 0 "alt =" system373 "src =" http://www.bkjia.com/uploads/allimg/131227/011U52058-4.jpg "width =" 672 "height =" 561 "/>