Traditional Culture Encyclopedia - Traditional festivals - What network protocol does the router choose?

What network protocol does the router choose?

What are the common routing protocols? The characteristics and main working principles of these routing protocols are briefly introduced.

Commonly used routing protocols include RIP, IGRP (Cisco proprietary protocol), EIGRP (Cisco proprietary protocol), OSPF, IS-IS, BGP, etc.

1、RIP

Features: It is a dynamic routing protocol, based on distance vector algorithm, using hop count as measurement standard. The requirements for bandwidth, configuration and management are not high, and it is mainly suitable for small-scale networks.

Principle: After running RIP, the router will send a route update request first, and the router that receives the request will send its own RIP route in response. After the network is stable, the router will send routing updates regularly. When the RIP update message arrives, the receiver router will compare each item with its own RIP routing table and correct its own RIP routing table according to the distance vector routing algorithm.

2、IGRP

Features: Fast convergence can be achieved. Routers running EIGRP store neighbor routing tables, which can quickly adapt to changes in the network. EIGRP sends partial updates instead of periodic updates, and only sends them when the routing path or metric value changes; Support multiple network layer protocols; Use multicast and unicast; Support variable length subnet mask; Seamless connection of data link layer protocols and topologies.

Principle: Cisco special protocol which combines link state and distance vector routing protocol adopts dispersion correction algorithm (DUAL) to achieve fast convergence, which can reduce bandwidth occupation without sending regular routing update information.

3、OSPF

Features: OSPF is applicable to a wide network; Update triggered by multicast; Fast convergence speed; Take the cost as the measurement value; OSPF protocol aims to avoid routing loops. Under the algorithm of using the shortest path, the link state in the route is received, and then the path is generated, so that the loop will not be generated.

Principle: OSPF is that two adjacent routers become neighbors by sending messages, and neighbors send link state information to each other to form adjacency. Then, they calculate the route according to the shortest path algorithm and put it in the OSPF routing table. OSPF routing is superior to other routes, so it is added to the global routing table.

Extended data:

The role of routing protocols

It mainly runs on the router, and the routing protocol mainly runs on the router and is mainly used for path selection. It acts as a map navigation and is responsible for finding the way. Work in the network layer.

As an important member of the TCP/IP protocol family, the routing process will affect the efficiency of the whole Internet.

Baidu Encyclopedia-Routing Protocol

Baidu encyclopedia -RIP

Baidu encyclopedia -_IGRP

Baidu encyclopedia -OSPF

What protocol does the router use?

Rip, eigrp and ospf all belong to the Internal Gateway Protocol (IGP). Igp is a protocol for computing routing in networks.

Egp external gateway protocol is used to transmit routes between different autonomous systems (temporarily understood as small networks), and it does not calculate routes itself. Generally, it is only used on the border router where the operator network or enterprise network accesses the operator network.

Rip is the earliest open standard routing protocol, which transmits routing information hop by hop according to the number of hops. The protocol has some shortcomings in technical principle, such as supporting small network scale and routing loop. Mainly used in small networks.

eigrp:

It's a routing protocol developed by Cisco, and I haven't understood the technical details yet. Because it is a private protocol of Cisco, it is not convenient for other vendors to communicate with each other, so this protocol is not commonly used.

ospf:

By flooding the network with link information (network topology information), each device can obtain the link information of all other devices in the area, and then run the shortest path tree algorithm to calculate the routing protocol. This is an open standard protocol. Compared with rip, RIP has the advantages of supporting large-scale networks and no inherent loop, so it is widely used.

What are the common routing protocols?

Commonly used Internet routing protocols include RIP, OSPF, IS-IS, IGRP, EIGRP, BGP, etc.

In a simple connected network structure, the connected routers can also directly adopt a static routing protocol instead of a dynamic routing protocol.

In medium-sized enterprises, these routing protocols usually use static routing RIP.

Like OSPF, it will only be used when it reaches a very large routing environment.

I have to.

Hosts and routers in the Internet usually need to implement TCP and IP protocols, and routers must implement IP protocols.

A router is a hardware device that connects two or more networks. It acts as a gateway between networks. It is a dedicated intelligent network device that reads the address in each packet and then decides how to transmit it.