A simple experiment of r00002 protocol for h3c Devices

Source: Internet
Author: User


The classification of common routing information protocols (RIP): Dynamic and Static. Intranet Gateway Protocol (igp): rip igrp VPN ospf is-is external Gateway Protocol (egp): bgp4RIP is a distributed Distance Vector-based routing protocol, is the standard protocol of the Internet, its biggest advantage is simple. The RIP Protocol defines "distance" as the distance from a router to a directly connected network as 1. The distance from a vro to a non-directly connected network is defined as the distance between each router and 1. Distance also becomes the number of hops ". RIP allows a maximum of 15 vrouters. Therefore, if the distance is 16, the path cannot be reached.
The rip Protocol of www.2cto.com uses udp port 520 to exchange messages. Rip features: 1: periodic update time 30s2: Broadcast (v1 broadcast, v2 multicast 224.0.0.9) 3: suitable for small-scale networks 4: by default, the maximum number of SLB instances is 4 and the maximum number is 6. 5: Calculate the metric value (the maximum number of lines is 16 hops) to solve the routing loop mechanism a. the maximum number of hops is 16 hops.
B. horizontal segmentation
C. Route poisoning
D. Toxicity reversal
E. Trigger update rejection timer 180 topology: [r1] dis cu
Interface Ethernet0
!
Interface Ethernet1
Loopback
Ip address 192.168.1.1 255.255.255.192
Rip version 2 multicast
!
Interface Serial0
Clock DTECLK1
Link-protocol ppp
Ip address 192.168.4.1 255.255.255.252
Rip version 2 multicast
!
Interface Serial1
Link-protocol ppp
Ip address 192.168.4.5 255.255.255.252
Rip version 2 multicast
Rip
Undo summary
Network 192.168.4.0
Network 192.168.1.0
!
Quit
!
Return [r1] dis ip rou
Routing Tables:
Destination/Mask Proto Pref Metric Nexthop Interface
127.0.0.0/8 Direct 0 0 127.0.0.1 LoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.1.0/26 Direct 0 0 192.168.1.1 Ethernet1
192.168.1.1/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.1.64/26 RIP 100 1 192.168.4.2 Serial0
192.168.1.128/26 RIP 100 1 192.168.4.6 Serial1
192.168.4.0/30 Direct 0 0 192.168.4.2 Serial0
192.168.4.1/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.4.2/32 Direct 0 0 192.168.4.2 Serial0
192.168.4.4/30 Direct 0 0 192.168.4.6 Serial1
192.168.4.5/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.4.6/32 Direct 0 0 192.168.4.6 Serial1
[R2] dis cu
Interface Ethernet1
Loopback
Ip address 192.168.1.65 255.255.255.192
Rip version 2 multicast
!
Interface Serial0
Link-protocol ppp
Ip address 192.168.4.2 255.255.255.252
Rip version 2 multicast
Rip
Undo summary
Network 192.168.4.0
Network 192.168.1.0
[R2] dis ip rou
Routing Tables:
Destination/Mask Proto Pref Metric Nexthop Interface
127.0.0.0/8 Direct 0 0 127.0.0.1 LoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.1.0/26 RIP 100 1 192.168.4.1 Serial0
192.168.1.64/26 Direct 0 0 192.168.1.65 Ethernet1
192.168.1.65/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.1.128/26 RIP 100 2 192.168.4.1 Serial0
192.168.4.0/30 Direct 0 0 192.168.4.1 Serial0
192.168.4.1/32 Direct 0 0 192.168.4.1 Serial0
192.168.4.2/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.4.4/30 RIP 100 1 192.168.4.1 Serial0
[R3] dis cu
Interface Ethernet1
Loopback
Ip address 192.168.1.129 255.255.255.192
Rip version 2 multicast
!
Interface Serial1
Clock DTECLK1
Link-protocol ppp
Ip address 192.168.4.6 255.255.255.252
Rip version 2 multicast
Rip
Undo summary
Network 192.168.4.0
Network 192.168.1.0
[R3] dis ip rou
Routing Tables:
Destination/Mask Proto Pref Metric Nexthop Interface
127.0.0.0/8 Direct 0 0 127.0.0.1 LoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.1.0/26 RIP 100 1 192.168.4.5 Serial1
192.168.1.64/26 RIP 100 2 192.168.4.5 Serial1
192.168.1.128/26 Direct 0 0 192.168.1.129 Ethernet1
192.168.1.129/32 Direct 0 0 127.0.0.1 LoopBack0
192.168.4.0/30 RIP 100 1 192.168.4.5 Serial1
192.168.4.4/30 Direct 0 0 192.168.4.5 Serial1
192.168.4.5/32 Direct 0 0 192.168.4.5 Serial1
192.168.4.6/32 Direct 0 0 127.0.0.1 LoopBack0
Debugging information of r3 [r3] debu rip pa
Enable Rip packet debugging functions
[R3] RIP: send from 192.168.1.129 to 224.0.0.9 (Ethernet1) multicast address
Packet: vers 2, cmd Response, length 104
Dest 192.168.4.0 mask route 255.255.252, router 0.0.0.0, and metric 2 all learned routes are released from the e1 interface.
Dest 192.168.1.0 mask 255.255.255.192, router 0.0.0.0, metric 2
Dest 192.168.1.64 mask 255.255.255.192, router 0.0.0.0, metric 3
Dest 192.168.4.4 mask 255.255.255.252, router 0.0.0.0, metric 1
Dest 192.168.1.128 mask created successfully created 192, router 0.0.0.0, metric 1 RIP: send from 192.168.4.6 to 224.0.0.9 (Serial1)
Packet: vers 2, cmd Response, length 44
Dest 192.168.4.4 mask route 255.255.252, router 0.0.0.0, metric 1 from the s1 excuse to only publish their own direct connection route, learned to no longer published to the router www.2cto.com from the learned route
Dest 192.168.1.128 mask implements 255.255.192, router 0.0.0.0, metric 1RIP: receive Response from 192.168.4.5 (Serial1)
Packet: vers 2, cmd Response, length 84
Dest 192.168.4.4 mask 255.255.255.252, router 0.0.0.0, metric 1
Dest 192.168.1.64 mask 255.255.255.192, router 0.0.0.0, metric 2
Dest 192.168.4.0 mask 255.255.255.252, router 0.0.0.0, metric 1
Dest 192.168.1.0 mask created successfully created 192, router 0.0.0.0, metric 1 RIP: send from 192.168.1.129 to 224.0.0.9 (Ethernet1)
Packet: vers 2, cmd Response, length 104
Dest 192.168.4.0 mask 255.255.255.252, router 0.0.0.0, metric 2
Dest 192.168.1.0 mask 255.255.255.192, router 0.0.0.0, metric 2
Dest 192.168.1.64 mask 255.255.255.192, router 0.0.0.0, metric 3
Dest 192.168.4.4 mask 255.255.255.252, router 0.0.0.0, metric 1
Dest 192.168.1.128 mask created successfully created 192, router 0.0.0.0, metric 1 RIP: send from 192.168.4.6 to 224.0.0.9 (Serial1)
Packet: vers 2, cmd Response, length 44
Dest 192.168.4.4 mask 255.255.255.252, router 0.0.0.0, metric 1
Dest 192.168.1.128 mask implements 255.255.192, router 0.0.0.0, metric 1RIP: receive Response from 192.168.4.5 (Serial1)
Packet: vers 2, cmd Response, length 84
Dest 192.168.4.4 mask 255.255.255.252, router 0.0.0.0, metric 1
Dest 192.168.1.64 mask 255.255.255.192, router 0.0.0.0, metric 2
Dest 192.168.4.0 mask 255.255.255.252, router 0.0.0.0, metric 1
Dest 192.168.1.0 mask subnet mask 255.192, router 0.0.0.0, metric 1 RIP: send from 192.168.1.129 to 224.0.0.9 (Ethernet1) Description: r00002 supports subnet mask with variable length, multicast is used for information exchange, reducing the number of broadcast packets in the network. The multicast address is 224.0.0.9.
 

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.