Protocol routing protocol -RIP

First, the development process of routing protocols and classification

 

Distance vector routing protocol - listen "rumors", uses a hop count as the metric, up to 16 (0-15) Jump: RIP

Link-state routing protocol - the "map" routing protocols: OSPF, IS-IS

Path Vector Protocol: BGP-- border gateway routing protocol between routing domains (AS-AS) to exchange network reachability information.

Hybrid routing protocols: EIGRP.

There are class routing: differentiated network class in the strict sense, when routing updates do not carry subnet mask;

Classless routing: carry the mask when routing updates;

Two, RIPV1 and V2 difference

Three, RIP route summary (usually in the export route) (eg: 172.16.12.0,172.16.13.0,172.16.14.0,172.16.15.0):

Are summarized in the interface to make , to select a location summary route; 

Network part: the same is to write a few a few;

Mask portions: writing a same, different write 0;

172.16.12.0--172.16.00001100.0

172.16.13.0--172.16.00001101.0

172.16.14.0--172.16.00001110.0

172.16.15.0--172.16.00001111.0

Network components: --172.16.00001100.0--172.16.12.0

Mask parts: --255.255.11111100.0--255.255.252.0

After routing summary is: 172.16.12.0/22

eg:

sys

interface g0/0/1

rip summary-address 172.16.12.0 255.255.252.0

undo rip summary-address 172.16.12.0 255.255.252.0 - cancel route summarization

Four, RIPV2 certification

RIPV2 malicious authentication is a method of filtering the routing information;

Authentication Type: plain text authentication and MD5 authentication;

Certification is an interface going to do ;

Note: When configuring authentication of both interfaces are configured with the same authentication , or can not learn routes.

A configuration method - plain text authentication :

sys

interface g0/0/0

Simple cipher-authentication MODE RIP HUAWEI   - plaintext configuration

Authentication information will be displayed at the time of the capture of the interface, as follows:

Configuration Method Two --MD5 Certification :

sys

interface g0/0/1

MD5 authentication-MODE usual RIP HUAWEI cipher    --md5 configure

Five, RIP suppress the interface :

RIP does not send messages, but you can receive RIP packets;

silent-interface command to suppress the interface, so that it only receives the RIP packet, updates its own routing table, but does not send RIP packets;

Configured in RIP.

Configuration :

eg: configure interfaces on the suppression of 0 AR2, AR1 AR2 will not receive the RIP packets.

sys

rip

G0-interface Silent / 0/0  - 0 configuration to suppress the interface

Six, RIP version compatible configuration

The default between RIPv1 and RIPv2 are not compatible;

Setting an interface compatible with other routes .

experiment:

AR3 is version V2, which is a modification 1;

Open the debug mode on AR2 (AR2 is on RIPv2 version), you can view the output of debugging information:

 Off debug mode:

Configuration :

AR2 enter a route, a modified version of RIP 1, other default unchanged:

sys

interface g0/0/1

rip version 1

dis rip 1 int g0/0/1

 

Guess you like

Origin www.cnblogs.com/yangyang1988/p/11487882.html