ATEN-Chapter 10 Advanced Configuration of OSPF (1)

Source: Internet
Author: User

Tool used in the experiment: Xiao fan Simulator

★☆1. Configure the interfaces of each vro and use the view command to analyze the changes in the route table and link status database. ☆★
① Set interfaces f0/0 of R1 to RIP Protocol, f1/0 to OSPF protocol, and Region 1. ASBR router, and configure route redistribution for it.
Router>
Router> enable
Router # config terminal
Router (config) # hostname R1-jin
R1-jin (config) # interface loopback 0
R1-jin (config-if) # ip address 1.1.1.1 255.255.255.255
R1-jin (config-if) # exit
R1-jin (config) # interface f0/0
R1-jin (config-if) # ip address 10.0.0.1 255.255.255.0
R1-jin (config-if) # no shutdown
R1-jin (config-if) # interface f1/0
R1-jin (config-if) # ip address 192.168.0.1 255.255.255.0
R1-jin (config-if) # no shutdown
R1-jin (config-if) # exit
R1-jin (config) # router rip
R1-jin (config-router) # network 10.0.0.0
R1-jin (config-router) # exit
R1-jin (config) # router ospf 1
R1-jin (config-router) # network 192.168.0.1 0.0.0.0 area 1
R1-jin (config-router) # redistribute rip metric 200 subnets
R1-jin (config-router) # end
R1-jin #
R1-jin # show ip ospf database
R1-jin # show ip route
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
O ia 255.0.0.0/8 [110/67] via 192.168.0.2, 00:00:13, FastEthernet1/0
O ia 172.16.0.0/16 [110/2] via 192.168.0.2, 00:02:51, FastEthernet1/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0
C 192.168.0.0/24 is directly connected, FastEthernet1/0
O ia 192.168.1.0/24 [110/66] via 192.168.0.2, 00:01:19, FastEthernet1/0
R1-jin #


② Configure the f1/0 interface of R2 as region 1, f0/0 as Region 0 (backbone region), which is the ABR router, and declare the corresponding network segment.
Router>
Router> enable
Router # config terminal
Router (config) # hostname R2-jin
R2-jin (config) # interface loopback 0
R2-jin (config-if) # ip address 2.2.2.2 255.255.255.255
R2-jin (config-if) # exit
R2-jin (config) # interface f1/0
R2-jin (config-if) # ip address 192.168.0.2 255.255.255.0
R2-jin (config-if) # no shutdown
R2-jin (config-if) # interface f0/0
R2-jin (config-if) # ip address 172.16.0.2 255.255.255.0.0
R2-jin (config-if) # no shutdown
R2-jin (config-if) # exit
R2-jin (config) # router ospf 1
R2-jin (config-router) # network 192.168.0.2 0.0.0.0 area 1
R2-jin (config-router) # network 172.16.0.2 0.0.0.0 area 0
R2-jin (config-router) # end
R2-jin #
R2-jin # show ip ospf database
R2-jin # show ip route
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
O ia 255.0.0.0/8 [110/66] via 172.16.0.1, 00:00:23, FastEthernet0/0
C 172.16.0.0/16 is directly connected, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
O E2 10.0.0.0 [110/200] via 192.168.0.1, 00:01:30, FastEthernet1/0
C 192.168.0.0/24 is directly connected, FastEthernet1/0
O ia 192.168.1.0/24 [110/65] via 172.16.0.1, 00:01:30, FastEthernet0/0
R2-jin #

③ Set port f0/0 of R3 to backbone Zone 0, s1/0 to zone 2, which is an ABR router, and declare the corresponding network segment.
Router>
Router> enable
Router # config terminal
Router (config) # hostname R3-jin
R3-jin (config) # interface loopback 0
R3-jin (config-if) # ip address 3.3.3.3 255.255.255.255
R3-jin (config-if) # exit
R3-jin (config) # interface f0/0
R3-jin (config-if) # ip address 172.16.0.1 255.255.255.0.0
R3-jin (config-if) # no shutdown
R3-jin (config-if) # interface s1/0
R3-jin (config-if) # ip address 192.168.1.1 255.255.255.0
R3-jin (config-if) # no shutdown
R3-jin (config-if) # exit
R3-jin (config) # router ospf 1
R3-jin (config-router) # network 172.16.0.1 0.0.0.0 area 0
R3-jin (config-router) # network 192.168.1.1 0.0.0.0 area 2
R3-jin (config-router) # end
R3-jin #
R3-jin # show ip ospf database
R3-jin # show ip route
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
O route 0.0.0/8 [110/65] via 192.168.1.2, 00:00:32, Serial1/0
C 172.16.0.0/16 is directly connected, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
O E2 10.0.0.0 [110/200] via 172.16.0.2, 00:00:32, FastEthernet0/0
O ia 192.168.0.0/24 [110/2] via 172.16.0.2, 00:00:32, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Serial1/0
R3-jin #


④ Configure the R4 interface, Region 2, declaring the network segment
Router>
Router> enable
Router # config terminal
Router (config) # hostname R4-jin
R4-jin (config) # interface loopback 0
R4-jin (config-if) # ip address 4.4.4.4 255.255.255.255
R4-jin (config-if) # exit
R4-jin (config) # interface s1/0
R4-jin (config-if) # ip address 192.168.1.2 255.255.255.0
R4-jin (config-if) # clock rate 128000
R4-jin (config-if) # no shutdown
R4-jin (config-if) # interface f0/0
R4-jin (config-if) # ip address 255.0.0.1 255.0.0.0
R4-jin (config-if) # no shutdown
R4-jin (config-if) # exit
R4-jin (config) # router ospf 1
R4-jin (config-router) # network 192.168.1.2 0.0.0.0 area 2
R4-jin (config-router) # network protocol 0.0.1 0.0.0.0 area 2
R4-jin (config-router) # end
R4-jin #
R4-jin # show ip ospf database
R4-jin # show ip route
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
C versions 0.0.0/8 is directly connected, FastEthernet0/0
O ia 172.16.0.0/16 [110/65] via 192.168.1.1, 00:00:42, Serial1/0
10.0.0.0/24 is subnetted, 1 subnets
O E2 10.0.0.0 [110/200] via 192.168.1.1, 00:00:42, Serial1/0
O ia 192.168.0.0/24 [110/66] via 192.168.1.1, 00:00:42, Serial1/0
C 192.168.1.0/24 is directly connected, Serial1/0R4-jin #
R4-jin #


★☆2. Configure the non-pure ending area and the full ending area, and use the command to analyze the route table and link status database changes. ☆★
① Configure the non-pure ending area on R1 and R2
R1
R1-jin #
R1-jin # config terminal
R1-jin (config) # router ospf 1
R1-jin (config-router) # area 1 nssa
R1-jin (config-router) # end
R1-jin #
R1-jin # show ip ospf database
R1-jin # show ip route
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
O ia 172.16.0.0/16 [110/2] via 192.168.0.2, 00:00:46, FastEthernet1/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0
C 192.168.0.0/24 is directly connected, FastEthernet1/0
O ia 192.168.1.0/24 [110/66] via 192.168.0.2, 00:00:46, FastEthernet1/0
R1-jin #


R2
R2-jin #
R2-jin # config terminal
R2-jin (config) # router ospf 1
R2-jin (config-router) # area 1 nssa
R2-jin (config-router) # end
R2-jin #
R2-jin # show ip ospf database
R2-jin # show ip route
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
O ia 255.0.0.0/8 [110/66] via 172.16.0.1, 00:00:07, FastEthernet0/0
C 172.16.0.0/16 is directly connected, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
O N2 10.0.0.0 [110/200] via 192.168.0.1, 00:01:00, FastEthernet1/0
C 192.168.0.0/24 is directly connected, FastEthernet1/0
O ia 192.168.1.0/24 [110/65] via 172.16.0.1, 00:01:00, FastEthernet0/0
R2-jin #


② Configure the complete ending point on R3 and the ending point on R4
R3
R3-jin #
R3-jin # config terminal
R3-jin (config) # router ospf 1
R3-jin (config-router) # area 2 stub no-summary
R3-jin (config-router) # end
R3-jin #
R3-jin # show ip ospf database
R3-jin # show ip route
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
O route 0.0.0/8 [110/65] via 192.168.1.2, 00:00:14, Serial1/0
C 172.16.0.0/16 is directly connected, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
O E2 10.0.0.0 [110/200] via 172.16.0.2, 00:00:14, FastEthernet0/0
O ia 192.168.0.0/24 [110/2] via 172.16.0.2, 00:00:14, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Serial1/0
R3-jin #

R4
R4-jin #
R4-jin # config terminal
R4-jin (config) # router ospf 1
R4-jin (config-router) # area 2 stub
R4-jin (config-router) # end
R4-jin #
R4-jin # show ip ospf database
R4-jin # show ip route
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
C versions 0.0.0/8 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Serial1/0
O * IA 0.0.0.0/0 [110/65] via 192.168.1.1, 00:00:16, Serial1/0
R4-jin #
R4-jin #
R4-jin # ping 10.0.0.1
R4-jin #


★☆3. Configure the PC and verify it! ☆★
VPCS 1>
VPCS 1> show
VPCS 1> ip 10.0.0.2 10.0.0.1 8
VPCS 1> 2
VPCS 2> ip address 255.0.0.2 255.0.0.1 8

VPCS 2> ping 10.0.0.2
10.0.0.2 icmp_seq = 1 timeout
10.0.0.2 icmp_seq = 2 time = 157.000 MS
10.0.0.2 icmp_seq = 3 time = 171.000 MS
10.0.0.2 icmp_seq = 4 time = 156.000 MS
10.0.0.2 icmp_seq = 5 time = 172.000 MS
VPCS 2>

OK !!! The experiment is complete !!!


All the tools I use are the "Xiao fan Simulator ".
The operation is the same as that of a real device. Apart from several commands, you can discover them slowly!
Author: ""

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.