Redistributing RIP, OSPF, and VPN in the Network

Source: Internet
Author: User


Redistributing RIP, OSPF, and VPN in the Network

Tutorial steps: the frame relay link of R1/R2/R5 participates in the s2/1 link of ospf area 0R5/R6, participates in the l0 interface of ospf 100R2, participates in the frame relay link of area 20R2/R4, and participates in area 4R1/R3. frame relay link running rip v2, redundant interfaces are not allowed to send rip routes in R1 to implement two-way rip and ospf, and then to implement two-way ospf In R5. Then, the L1 port of R4 is configured with 4.4.5.4/32, participate in ospf 40 configuration instance ipvr1conf tint l 0ip ad 1.1.1.1 255.255.255.255int s2/0ip ad 10.1.5.1 then f no arp fno frame inverframe map ip 10.1.5.5 105 bframe map ip 10.1.5.2 105 bip ospf priority 0no shutexitint 2/1ip ad 10.1.1.1 listen fno arp fno frame inverframe map ip 10.1.1.3 113 bno shut ready exitrouter ripver 2no aunet protocol-interface s2/0 redistribute ospf 1 metric 5 router ospf 255.1.1.1.1net 10.1.5.1 0.0.0.0 0net 1.1.1.1 0.0.0.0 a 0nei random rip metric 100 metric-type 1 subnets end R2conf tint l 0ip ad 2.2.2.2 116s2/0ip ad 10.1.5.2 255.255.0encap f limit no frame inverno arp frame map ip 10.1.5.5 205 bframe map ip 10.1.5.1 205 bip ospf priority 0no shutexitint s2/1ip ad 10.1.2.2 disable fno arp fno frame inverframe map ip 10.1.2.4 214 bno shutip ospf network point-to-limit ospf limit 2.2.2.2net 10.1.5.2 0.0.0.0 0net 2.2.2.2 0.0.0.0 a 20net 10.1.2.2 0.0.0.0 a 4nei 10.1.5.5area 4 virtual-link Protocol R3conf tint l 0ip ad 3.3.3.3 s2/1 Protocol ip ad 10.1.1.3 255.fno arp fno frame inverframe map ip 10.1.1.3 311 bno shutexitrouter ripver 2no aunet zookeeper R4conf tint l 0ip ad 4.4.4.4 255.255.255.255int l 1ip ad 4.4.5.4 255.255.255.255int s 2/1ip ad 10.1.2.4 255.255.255.0encap fno arp fno frame inverframe map ip 10.1.2.2 412 bno shut multicast ip ospf network point-to-pointrouter ospf ipv4.4.4.4 0.0.0.0 a 4net 10.1.2.4 0.0.0.0 a 4net 4.4.5.4 0.0.0.0 a 40 area 4 virtual-link 2.2.2.2end R5conf tint l 0ip ad ipvs2/0ip ad 10.1.5.5 limit fno arp fno frame inverframe map ip 10.1.5.1 501 bframe map ip 10.1.5.2 502 bno shutint s2/1ip ad 10.1.6.5 running fno arp fno frame inverframe map ip 10.1.6.6 516 bno shutrouter ospf 255.255.255.255.10.1.5.5 0.0.0.0 0net 5.5.5 0.0.0.0 a 0 redistribute image100 subnets metric 100 metric-type 1 exitrouter VPN 100no auto scaling net 10.1.6.5 limit ospf 1 metric 10000 100 255 1 1500end R6conf tint l 0ip ad 6.6.6.6 limit s2/ 1ip ad 10.1.6.6 255.255.255.0encap fno arp fno frame inveframe map ip 10.1.6.5 615 bno shutrouter VPN 100no aunet 6.6.6.6 0.0.0.0net 10.1.6.6 0.0.0.0end verification R1 # sh ip routeCodes: c-connected, S-static, R-RIP, M-mobile, B-BGP D-VPN, EX-VPN 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, su-IS summary, L1-IS level-1, L2-IS level-2 ia-IS inter area, *-candidate default, u-per-user static route o-ODR, P-periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsC 1.1.1.1 is directly connected, loopback0 2.0.0.0/32 is subnetted, 1 subnetsO IA 2.2.2.2 [110/65] via 10.1.5.2, 00:00:40, serial/0 3.0.0.0/32 is subnetted, 1 subnets www.2cto.com R 3.3.3.3 [120/1] via 10.1.1.3, 00:00:11, serial/1 4.0.0.0/32 is subnetted, 2 subnetsO IA 4.4.4.4 [110/129] via 10.1.5.2, 00:00:40, serial/0O IA 4.4.5.4 [110/129] via 10.1.5.2, 00:00:40, serial/0 5.0.0.0/32 is subnetted, 1 subnetsO 5.5.5.5 [110/65] via 10.1.5.5, 00:00:40, serial/0 6.0.0.0/32 is subnetted, 1 subnetsO E1 6.6.6.6 [110/164] via 10.1.5.5, 00:00:40, serial/0 10.0.0.0/24 is subnetted, 4 subnetsO IA 10.1.2.0 [110/128] via 10.1.5.2, 00:00:40, serial/0C 10.1.1.0 is directly connected, serial/1O E1 10.1.6.0 [110/164] via 10.1.5.5, 00:00:40, serial/0C 10.1.5.0 is directly connected, serial/0 R2 # sh ip routeCodes: C-connected, S-static, r-RIP, M-mobile, B-BGP D-VPN, EX-OSPF 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, su-IS summary, l1-IS level-1, L2-IS level-2 ia-IS inter area, *-candidate default, u-per-user static route o-ODR, P-periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 [110/65] via 10.1.5.1, 00:00:44, serial/0 2.0.0.0/32 is subnetted, 1 subnetsC 2.2.2.2 is directly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnetsO E1 3.3.3.3 [110/164] via 10.1.5.1, 00:00:44, serial/0 4.0.0.0/32 is subnetted, 2 subnets www.2cto.com O 4.4.4.4 [110/65] via 10.1.2.4, 00:01:13, serial/1O IA 4.4.5.4 [110/65] via 10.1.2.4, 00:00:44, serial/1 5.0.0.0/32 is subnetted, 1 subnetsO 5.5.5.5 [110/65] via 10.1.5.5, 00:00:44, serial/0 6.0.0.0/32 is subnetted, 1 subnetsO E1 6.6.6.6 [110/164] via 10.1.5.5, 00:00:44, serial/0 10.0.0.0/24 is subnetted, 4 subnetsC 10.1.2.0 is directly connected, serial/1O E1 10.1.1.0 [110/164] via 10.1.5.1, 00:00:44, serial/0O E1 10.1.6.0 [110/164] via 10.1.5.5, 00:00:44, serial/0C 10.1.5.0 is directly connected, serial/0 R3 # sh ip routeCodes: C-connected, S-static, r-RIP, M-mobile, B-BGP D-VPN, EX-OSPF 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, su-IS summary, l1-IS level-1, L2-IS level-2 ia-IS inter area, *-candidate default, u-per-user static route o-ODR, P-periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsR 1.1.1.1 [120/5] via 10.1.1.1, 00:00:13, serial/1 2.0.0.0/32 is subnetted, 1 subnets www.2cto.com R 2.2.2.2 [120/5] via 10.1.1.1, 00:00:13, serial/1 3.0.0.0/32 is subnetted, 1 subnetsC 3.3.3.3 is directly connected, loopback0 4.0.0.0/32 is subnetted, 2 subnetsR 4.4.4.4 [120/5] via 10.1.1.1, 00:00:13, serial/1R 4.4.4.5.4 [120/5] via 10.1.1.1, 00:00:13, serial/1 5.0.0.0/32 is subnetted, 1 subnetsR 5.5.5.5 [120/5] via 10.1.1.1, 00:00:13, serial/1 6.0.0.0/32 is subnetted, 1 subnetsR 6.6.6.6 [120/5] via 10.1.1.1, 00:00:13, serial/1 10.0.0.0/24 is subnetted, 4 subnetsR 10.1.2.0 [120/5] via 10.1.1.1, 00:00:16, serial/1C 10.1.1.0 is directly connected, serial/1R 10.1.6.0 [120/5] via 10.1.1.1, 00:00:16, serial/1R 10.1.5.0 [120/1] via 10.1.1.1, 00:00:16, serial/1 R4 # sh ip routeCodes: C-connected, S-static, R-RIP, M-mobile, b-BGP D-OSPF, EX-OSPF 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, su-IS summary, l1-IS level-1, L2-IS level-2 ia-IS inter area, *-candidate default, u-per-user static route o-ODR, P-periodic downloaded static routeGateway of last resort is not set www.2cto.com 1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 [110/129] via 10.1.2.2, 00:01:04, serial/1 2.0.0.0/32 is subnetted, 1 subnetsO IA 2.2.2.2 [110/65] via 10.1.2.2, 00:01:04, serial/1 3.0.0.0/32 is subnetted, 1 subnetsO E1 3.3.3.3 [110/228] via 10.1.2.2, 00:01:04, serial/1 4.0.0.0/32 is subnetted, 2 subnetsC 4.4.4.4.4 is directly connected, Loopback0C 4.4.5.4 is directly connected, loopback1 5.0.0.0/32 is subnetted, 1 subnetsO 5.5.5.5 [110/129] via 10.1.2.2, 00:01:04, serial/1 6.0.0.0/32 is subnetted, 1 subnetsO E1 6.6.6.6 [110/228] via 10.1.2.2, 00:01:04, serial/1 10.0.0.0/24 is subnetted, 4 subnetsC 10.1.2.0 is directly connected, serial/1O E1 10.1.1.0 [110/228] via 10.1.2.2, 00:01:04, serial/1O E1 10.1.6.0 [110/228] via 10.1.2.2, 00:01:04, serial/1O 10.1.5.0 [110/128] via 10.1.2.2, 00:01:04, serial/1 R5 # sh ip route Codes: C-connected, S-static, R-RIP, M-mobile, b-BGP D-OSPF, EX-OSPF 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, su-IS summary, l1-IS level-1, L2-IS level-2 ia-IS inter area, *-candidate default, u-per-user static route o-ODR, P-periodic downloaded static routeGateway of last resort is not set www.2cto.com 1.0.0.0/32 is subnetted, 1 subnetsO 1.1.1.1 [110/65] via 10.1.5.1, 00:00:59, serial/0 2.0.0.0/32 is subnetted, 1 subnetsO IA 2.2.2.2 [110/65] via 10.1.5.2, 00:00:59, serial/0 3.0.0.0/32 is subnetted, 1 subnetsO E1 3.3.3.3 [110/164] via 10.1.5.1, 00:00:59, serial/0 4.0.0.0/32 is subnetted, 2 subnetsO IA 4.4.4.4 [110/129] via 10.1.5.2, 00:00:59, serial/0O IA 4.4.5.4 [110/129] via 10.1.5.2, 00:00:59, serial/0 5.0.0.0/32 is subnetted, 1 subnetsC 5.5.5.5 is directly connected, Loopback0 6.0.0.0/32 is subnetted, 1 subnetsD 6.6.6.6 [90/2297856] via 10.1.6.6, 00:14:35, serial/1 10.0.0.0/24 is subnetted, 4 subnetsO IA 10.1.2.0 [110/128] via 10.1.5.2, 00:01:00, serial/0O E1 10.1.1.0 [110/164] via 10.1.5.1, 00:01:00, serial/0C 10.1.6.0 is directly connected, serial/1C 10.1.5.0 is directly connected, serial/0
R6 # sh ip routeCodes: C-connected, S-static, R-RIP, M-mobile, B-BGP D-VPN, EX-VPN 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, su-IS summary, L1-IS level-1, L2-IS level-2 ia-IS inter area, *-candidate default, u-per-user static route o-ODR, P-periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsD EX 1.1.1.1 [170/2195456] via 10.1.6.5, 00:14:36, serial/1 2.0.0.0/32 is subnetted, 1 subnetsD EX 2.2.2.2 [170/2195456] via 10.1.6.5, 00:14:36, serial/1 3.0.0.0/32 is subnetted, 1 subnetsD EX 3.3.3.3 [170/2195456] via 10.1.6.5, 00:14:36, serial/1 4.0.0.0/32 is subnetted, 2 subnetsD EX 4.4.4.4.4 [170/2195456] via 10.1.6.5, 00:14:36, serial/1D EX 4.4.5.4 [170/2195456] via 10.1.6.5, 00:01:03, serial/1 5.0.0.0/32 is subnetted, 1 subnets www.2cto.com d ex 5.5.5.5 [170/2195456] via 10.1.6.5, 00:14:36, serial/1 6.0.0.0/32 is subnetted, 1 subnetsC 6.6.6.6 is directly connected, Loopback0 10.0.0.0/24 is subnetted, 4 subnetsD EX 10.1.2.0 [170/2195456] via 10.1.6.5, 00:14:38, serial/1D EX 10.1.1.0 [170/2195456] via 10.1.6.5, 00:14:38, serial/1C 10.1.6.0 is directly connected, serial/1D EX 10.1.5.0 [170/2195456] via 10.1.6.5, 00:14:38, serial/1 The author goes through hell to see the sea

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.