Cisco Dynamic Routing OSPF Protocol

OSPF description:

Multicast Extended OSPF

  locking

The synonym  ospf generally refers to Multicast Extended OSPF

OSPF (Open Shortest Path First ) is an Interior Gateway Protocol (IGP) for routing decisions within a single autonomous system (AS) . It is an implementation of the Link State Routing Protocol and belongs to the Interior Gateway Protocol (IGP), so it operates inside the autonomous system. The well-known Dijkstra algorithm (Dijkstra) is used to calculate the shortest path tree. OSPF is divided into two versions, OSPFv2 and OSPFv3. OSPFv2 is used in IPv4 networks and OSPFv3 is used in IPv6 networks. OSPFv2 is defined by RFC 2328 and OSPFv3 is defined by RFC 5340. Compared to RIP , OSPF is a link state protocol, while RIP is a distance vector protocol .

 

 

Prepare:

PC1:192.168.1.10 

RC1: Fa0 / 0 192.168.1.1 Fa0 / 1 1.1.12.1

RC2: Fa0 / 0 1.1.12.2 Fa0 / 1 192.168.3.1

 

 

Order:


R1 instruction:

enable
config t
int fa0 / 0
ip add 192.168.1.1 255.255.255.0
exit

int fa0 / 1
ip add 1.1.12.1 255.255.255.0
exit

router OSPF
network 192.168.1.0 0.255.255.255 area 0
exit

  

R2 command:

enable
config t
int fa0 / 0
ip add 192.168.3.1 255.255.255.0
exit

int fa0 / 1
ip add 1.1.12.2 255.255.255.0
exit

router OSPF
network 192.168.1.0 0.255.255.255 area 0
exit

  

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324787849&siteId=291194637