Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

OSPF routing protocol

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. OSPF routing protocol

Internal Gateway Protocol and external Gateway Protocol

1. Autonomous system (AS)

two。 Interior Gateway Protocol (IGP)

3. External Gateway Protocol (EGP)

The area with the same routing process protocol is called AS area system.

Interior Gateway routing Protocol (IGP): RIP, OSPF, ISIS.

External Gateway routing Protocol (EGP): BGP

OSPF is a link-state routing protocol that forwards the link-state information base, not the routing table like the RIP protocol.

OSPF is an open shortest path first selection protocol.

II. OSPF region

Area 0: there is one and only one backbone area. All the regions send messages through Area 0 and all go to Area 0 to connect.

Other areas are called standard areas, non-backbone areas, which are responsible for forwarding information.

III. Router ID

Router ID is the unique identification of the IP address of the router in the OSPF area!

Selection rules of Router ID

1. Select the IP address with the highest value on the router loopback interface

two。 If there is no loopback interface, select the one with the highest IP address in the physical port

3. You can also specify Router ID with the router-id command

4. DR and BDR

DR: the primary route in the area

BDR: alternate routes in the area

Other routers only form adjacencies with DR and BDR, and transmit information in the form of multicast.

DR 、 BDR:224.0.0.5

Other routes: 224.0.0.6

5. OSPF packet

Seven states of establishing a connection relationship in OSPF

1.down status: all ports default to the first state

2.init status Love: after receiving the Hello packet, the port in the down state activates the init state. In this state, you can only receive hello packets, not send hello packets!

3.2-Way status: after loading, the route system enters the 2-way state from init. It can either receive hello packets or send hello packets, and elect the two largest route ID, but will not determine the master-slave route (DR and BDR will not be selected)

4.ExStart status: determine the identity of DR and BDR.

5.Exchange status: DBD packets are exchanged and LSAck packets are received at the same time

6.Loading status: the busiest state, with the most types of packets. LSR, LSU (including multiple LSA) and LSAck form the routing table

7.FULL status: steady point status starts forwarding packets

Network type of OSPF

Comparison between OSPF and RIP

Experiment

Configure OSPF routin

1. Establishing Topology Diagram in GNS3

two。 Set the IP address of PC

3. Set the IP address of the R1, R2, and R3 ports

4. Set the router id of the router

5. Configure OSPF routing protocol

6. Check the settings

7. Test whether it can communicate with each other.

8.

The experiment was a success!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report