Article Directory
Foreword
We are in the routing of data communication in a very important step. This paper introduces a common routing protocol.And we will write a detailed explanation of some articles for major routing protocols in the coming days. Such as OSPF, IS-IS, BGP protocol
routing
In the process of network communications, it is a very important part of the route, and a method for routing protocols can also be divided into more of:
routing | Explanation |
---|---|
Static Routing | It requires the administrator to manually configure and maintain the routing table |
Dynamic Routing | It can automatically create their own routing table, and can be adjusted in a timely manner in accordance with the actual situations change |
Static Routing
Advantages and Disadvantages
Advantage | Disadvantaged |
---|---|
Simple configuration | Require manual configuration, maintenance, heavy workload |
No CPU resources | It does not automatically adapt to topology changes |
Load Balancing | |
Route Backup |
Configuration
Commandsip route-static [目的网段] [子网掩码] [下一跳IP地址]
FIG router R2 above example:
[r2]int e0/0/0
[r2-Ethernet0/0/0]ip add 192.168.2.2 24
[r2-Ethernet0/0/0]int e0/0/1
[r2-Ethernet0/0/1]ip add 192.168.3.1 24
[r2]ip route-static 192.168.4.0 24 192.168.3.2
[r2]ip route-static 192.168.1.0 24 192.168.2.1
Dynamic Routing
And there are a lot of dynamic routing protocol routing, common are:
RIP (Routing Information Protocol): Routing Information Protocol
OSPF (Open Shortest Path First): Open Shortest Path First Protocol
IS-IS (Intermediate System-to -Intermediate System): Intermediate System to Intermediate System Routing Protocol
BGP (Border Gateway Protocol) : border gateway protocol
We can classify routes according to some definitions:
By routing algorithm classification
classification | Routing Protocol |
---|---|
Distance vector routing protocol | RIP, BGP, etc. |
Link-state routing protocol | OSPF、IS-IS等 |
By work area classification
classification | Routing Protocol |
---|---|
Intra-domain routing protocols (Interior Gateway Protocol, IGP) | RIP、OSPF、IS-IS等 |
Inter-domain routing protocol (Exterior Gateway Protocol, EGP) | EGP、BGP |
By routing type classification
classification | Routing Protocol |
---|---|
Unicast routing protocol | RIP、OSPF、IS-IS、IGRP、BGP等 |
Multicast Routing Protocol | DVMRP, PIM-SM, PIM-DM, MOSPF, MBGP 等 |
RIP Profile
It is a protocol based on RIP distance vector (Distance-Vector) algorithm, using the hop count as a measure to measure the distance to the destination host.
- Pros: Simple to configure, easy to maintain, suitable for small networks
- Disadvantages: slow convergence, easy to produce loops (slow convergence leads), differential extensibility (16 hops), does not support VLSM, CIDR (VLSM classless inter domain routing), does not support authentication functionality
RIP Configuration
[Huawei]rip //开启RIP协议
[Huawei-rip-1]version 2 //选择版本2
[Huawei-rip-1]network 10.0.0.0 //宣告相邻网段