RIP basic theory papers

RIP

Routing Information Protocol. The protocol is based on hearsay .

Seemingly run rip Philippines can learn routing directly connected network, but it does not understand the whole network connection, but the audience is not directly connected to the neighbor network routing your hair.

This way there are both good and bad, but not too much advantage is the heart of resource consumption. But the neighbors told your information may be wrong, but you can not tell.

If after receiving the error message, you will be forwarded to your other neighbors, at the data level, this group of routers in the wrong routing information to forward data destined for a destination network, the final result is not to, and may in looper between a group of routers.

rip version

  1. V1: There are classes, when advertising routing prefix and only measure. Use only flsm. Broadcast updates with mandatory

Radio update affects all the other people within the entire network. When the router connected to the network broadcasting the update arrives pc, but pc is not required. It will cause some waste of resources

There is a better way to optimize: called passive interfaces passive-interface, Huawei called the silent interface. When an interface is the interface to the passive. He could not send any form of updates and requests. Do not worry about the rip receive any updates. Usually give loopback interface, and a network interface connected pc is set to loopback interface

  1. ** V2: ** only support vlsm, cidr do not support multicast updates 224.0.0.9

Automatically aggregated for any routing protocol is not a good thing, discontinuous subnet led to an agreement interruption. And automatic rollup very uncontrollable in the summary process, inaccurate. To turn off as much as possible.
But such agreements are automatically aggregated by to eat, there are classes in the environment, to rely on the automatic route summary received no mask at all receiving routers to help it succeed guess mask

Packets

Request **: ** General initialization request to see

Response: Update packet routing entry is included in the update.
response package : layER 2 | udp | rip | fcs port 520

udp + rip load a total of 512 bytes, udp8 byte, rip tabloid head 4 bytes, the update package is 500 bytes, 20 bytes route entry, update a package that is up to 25 routes . When he was in a large network, it would be the provincial resources.

Enable the rip
open rip
specified version of
why the specified version, because cisco, Huawei and open rrip default is a hybrid version. Transmission v1, receiving v1, v2 of. But there is a class v1 only with metric prefixes in advertising routes. So to use version 2.
Turn off automatically aggregated
interfaces declared.

Send Update:
cycle time 30s, comprising the direct route into the router rip the announcement,
and the router has learned through rip added to the routing table. Exclude split horizon.

Horizontal split: the route learned via the interface by routing updates sent to the interface can not carry learned by the interface itself

Trigger update:

Metric: hops
directly connected 0 jump. Plus one hop before the announcement. I think this network destined rip n jump, I go to my neighbor through this network that extra jump, so add 1. Maximum 15.

But I think to take the path hop count to measure good or bad is not science. Administrators criticizing the path of good or bad I will take more generations width, delay, load, real-time performance is measured. So in a network environment, simple operation rip, without any interference paths, sometimes the system automatically elections optimal path destined for the destination network, the administrator is not recognized.

Released nine original articles · won praise 5 · Views 116

Guess you like

Origin blog.csdn.net/weixin_45821358/article/details/104667371