In CCNA programs, we often hear the phrase “OSPF routing intersection”. So what is the routing protocol and OSPF routing protocol configuration and how does it work? The following article will help you answer this question.
OSPF – Open Shortest Path First is a typical link-state routing protocol. This protocol is widely used in large enterprise networks. In this article, we will guide you through the basic OSPF routing protocol configuration. Follow the content below for more details.
Configure OSPF . routing protocol
Observing the diagram above you will notice the presence of 3 routers.
Router HN: interface serial0/3/0(s0/3/0) IP 192.168.1.1 connects to Router NA while interface f0/0 IP 172.16.1.1 connects to PC1
Router NA: interface serial0/3/0(s0/3/0) IP 192.168.1.2 connected to Router HN
Router HCM: interface serial0/3/1(s0/3/1) IP 192.168.2.1 connects to Router NA while interface f0/0 IP 10.1.1.1 connects to PC2
There are also 2 PCs present:
- PC1: IP 172.16.1.2, connected to interface f0/0 Router HN
- PC2: IP 10.1.1.2 connected to interface f0/0 Router HCM
Configuration for Router
Router HN:
Router(config)#hostname Router HN Router(config)#hostname RouterHN RouterHN(config)#int s0/3/0 RouterHN(config-if)#ip address 192.168.1.1 255.255.255.0 RouterHN(config-if)#no shutdown RouterHN(config-if)#clock rate 64000 RouterHN(config-if)#exit RouterHN(config)# ——————————————– RouterHN(config)#int f0/0 RouterHN(config-if)#description “Connect to PC1” RouterHN(config-if)#ip address 172.16.1.1 255.255.255.0 RouterHN(config-if)#no shutdown RouterHN(config-if)#exit RouterHN(config)# |
Router NA:
Router(config)#hostname RouterNA RouterNA(config)#int s0/3/0 RouterNA(config-if)#ip address 192.168.1.2 255.255.255.0 RouterNA(config-if)#no shutdown RouterNA(config-if)#exit RouterNA(config)# ————————————————- RouterNA(config)#int s0/3/1 RouterNA(config-if)#description “Connect to Router HCM” RouterNA(config-if)#ip address 192.168.2.2 255.255.255.0 RouterNA(config-if)#no shutdown RouterNA(config-if)#clock rate 64000 RouterNA(config-if)#exit RouterNA(config)# |
Router HCM:
Router(config)#hostname RouterHCM RouterHCM(config)#int s0/3/1 RouterHCM(config-if)#description “Connect to Router NA” RouterHCM(config-if)#ip address 192.168.2.1 255.255.255.0 RouterHCM(config-if)#no shutdown RouterHCM(config-if)#clock rate 64000 RouterHCM(config-if)#exit RouterHCM(config)# ————————————————— ———— RouterHCM(config)#int f0/0 RouterHCM(config-if)#description “Connect to PC 2” RouterHCM(config-if)#ip address 10.1.1.1 255.255.255.0 RouterHCM(config-if)#no shutdown RouterHCM(config-if)#exit RouterHCM(config)# |
https://thuthuat.Emergenceingames.com/cau-hinh-Giao-thuc-dinh-tuyen-ospf-4548n.aspx
For PCs:
- PC1: ip address 172.16.1.2, subnetmask: 255.255.255.0 gateway: 172.16.1.1
- PC2: ip address 10.1.1.2, subnet mask: 255.255.255.0 gateway: 10.1.1.1
Here, we have reviewed together basic operation of the OSPF . protocol in the CCNA program. This is a powerful, fast-converging protocol that can run on large-scale networks, and especially a standardized protocol that can be run on many product lines of many different manufacturers, so it is widely used in many industries. reality. Also please refer to Top 5 software for transferring data via FTP protocol For more details.
Related keywords:
ospf online home delivery picture
configuration interface, ospf image,
Source link: How to configure OSPF . routing protocol
– Emergenceingames.com