Configuration of Dynamic Route RIP

Source: Internet
Author: User

Configuration of Dynamic Route RIP

RIP uses UDP packets to exchange route information. The router sends a route update notice every 30 seconds. If the router does not obtain the route update packet from the other router within 180 seconds. It is considered that the route from the previous vro cannot be used. If an update message is not received in 240 seconds, the route RIP features are deleted:
It is a typical distance vector routing protocol.

The metric value selected for a route is the number of hops. The maximum number of hops is 15, and 16 represents Infinity-inaccessible.
By default, route updates are sent every 30 seconds.
Supports balanced traffic across multiple paths.
RIP1 has classes and does not support CIDR and VLSM. RIP2 supports CIDR and VLSM without classes.

Simple RIP Configuration:
Topology:



Configure router0 first:
Router> en
Router # config
Starting ing from terminal, memory, or network [terminal]? T
Enter configuration commands, one per line. End with CNTL/Z.
Router (config) # config ter
% Invalid hex value
Router (config) # inter s1/0
Router (config-if) # ip add 192.168.7.254 255.255.255.0
Router (config-if) # no shutd

% LINK-5-CHANGED: Interface Serial1/0, changed state to down
Router (config-if )#
Router (config-if) # exit
Router (config) # interface Serial1/0
Router (config-if) # clock rate 64000
Router (config-if) # inter s1/1
Router (config-if) # ip add 192.168.1.1 255.255.255.0
Router (config-if) # no shutd

% LINK-5-CHANGED: Interface Serial1/1, changed state to down
Router (config-if) # inter f0/0
Router (config-if) # ip add 192.168.5.254 255.255.255.0
Router (config-if) # no shutd

% LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
% LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router (config-if) # exit
Router (config) # router rip
Router (config-router) # network 192.168.5.0
Router (config-router) # network 192.168.7.0
Router (config-router) # network 192.168.1.0

Configure router1:

Router> en
Router # config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router (config) # inter s1/0
Router (config-if) # ip add 192.168.1.2 255.255.255.0
Router (config-if) # no shutd

% LINK-5-CHANGED: Interface Serial1/0, changed state to up
Router (config-if) # exit
Router (config) # inter s1/0
Router (config-if) # clock rate 64000
Router (config-if )#
% LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
Router (config-if) # exit
Router (config) # inter f0/0
Router (config-if) # ip add 172.161.1 255.255.0
Router (config-if) # no shutd

% LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
% LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router (config-if) # exit
Router (config) # router rip
Router (config-router) # network 192.168.1.0
Router (config-router) # network 172.161.0
Router (config-router )#
Configure router2:
Router> en
Router # config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router (config) # inter s1/0
Router (config-if) # ip add 192.168.7.21 255.255.255.0
Router (config-if) # no shutd

% LINK-5-CHANGED: Interface Serial1/0, changed state to up
Router (config-if) # in
% LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to upt
^
% Invalid input detected at '^' marker.

Router (config-if) # inter f0/0
Router (config-if) # ip add 192.168.25.1 255.255.255.0
Router (config-if) # no shutd

% LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
% LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router (config-if) # exit
Router (config) # router rip
Router (config-router) # network 192.168.7.0
Router (config-router) # network 192.168.25.0
Router (config-router )#
Host pc0ping host pc1 and pc2.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.