This article describes the entire process of OSPF configuration from an experimental perspective, allowing you to deeply understand the process of configuring OSPF in the experiment.
Network Topology:
Purpose:
1. Start the OSPF routing process on the router;
2. Enable the excuse for participating in the routing protocol and advertise the network and the region where it is located;
3. Modify the reference bandwidth;
4. DR election control;
5. Broadcast OSPF features on multiple access links.
Tutorial steps:
1. Configure the router interface addresses.
2. Start the OSPF routing process.
Configure router R1
R1 (config) # router ospf 1
R1 (config-router) # router-id 1.1.1.1
R1 (config-router) # network 1.1.1.0 255.255.0 area 0
R1 (config-router) # network 192.168.11.0 255.255.255.0 area 0
R1 (config-router) # auto-cost reference-bandwidth 1000
Configure vror2 R2
R2 (config) # router ospf 1
R2 (config-router) # router-id 2.2.2.2
R2 (config-router) # network 2.2.2.0 255.255.255.0 area 0
R2 (config-router) # network 192.168.11.0 255.255.255.0 area 0
R2 (config-router) # auto-cost reference-bandwidth 1000
Configure vror3 R3
R3 (config) # router ospf 1
R3 (config-router) # router-id 3.3.3.3
R3 (config-router) # network 3.3.3.0 255.255.255.0 area 0
R3 (config-router) # network 192.168.11.0 255.255.255.0 area 0
R3 (config-router) # auto-cost reference-bandwidth 1000
Configure vror4 R4
R4 (config) # router ospf 1
R4 (config-router) # router-id 4.4.4
R4 (config-router) # network 4.4.4.0 255.255.255.0 area 0
R4 (config-router) # network 192.168.11.0 255.255.255.0 area 0
R4 (config-router) # auto-cost reference-bandwidth 1000