In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
RIP:routing information protocol (inside the enterprise)
Public standard agreement
Located at OSI layer 7, socket: UDP 520
Divided into version 1 and 2
For small networks only, because RIP delivery can only pass through up to 15 active routers (up to 16)
R1:
Router rip / / enable RIP protocol
Version 2 / / configure that the currently running RIP is version 2
No auto-summary / / turn off automatic summarization
Network 10.10.1.0
Network 192.168.12.0
# the first three must be written on each router; # network is followed by the directly connected network on each router; verify:
Show ip protocols / / View all routing protocols currently running on the device
Show ip route rip / / View RIP routes in the routing table on each router
R1
Ping 10.10.4.4 source 10.10.1.1
Any type of route has two basic properties:
Administrative distance-AD,admin distance
Indicates the stability of the route. The value range is 0-255.
The smaller the better.
Measure-Metric
Indicates the distance from the router to a route entry, with unlimited range of values
The smaller the better.
RIP-hop/ hop count
EIGRP-hybrid metric
ISIS-cost
Note:
What exists in the routing table of a router is always the "most stable" going to a destination network.
The shortest path
When a router goes to a destination network and has multiple route entries, it will select
One of the best:
# first compare AD values, the smaller the better; if the same
# secondly, compare Metric, the smaller the better; if the same
# it is all put into the routing table to form "load balancing"
By default, for RIP, for any route entry
A maximum of 4 entries are allowed to appear at the same time.
On Cisco devices, AD Metric directly connected route administrative distance, 0 static route administrative distance, 10 RIP route administrative distance 120 hop-represents the "hop count", that is, the number of routers through which the route passes during delivery
RIPv1 competes for RIPv2
1. Different transmission methods, 1 is broadcast, 2 is multicast
RIPv2 Multicast is more secure, because only 224.0.0.9 is joined.
Before you can receive RIPv2 information
Because when RIPv1 broadcasts, all devices that join this network segment can receive
RIP information, which can easily lead to the disclosure of routing entries
2. Different subnet masks, 1 does not support, 2 supports
It can be said that RIPv2 supports VLSM; but V1 does not.
3. Authentication support is different, 1 does not support, 2 supports (plaintext + ciphertext)
RIPv2 is more secure because it supports authentication
RIPv1 does not support any authentication features.
4. Tag support is different, 1 does not support, 2 supports
RIPv2 supports tagging (tag), which facilitates batch management of a large number of routes
But RIPv1 does not support it.
R1:
Router rip
Version 2
No auto-summary
Network x.x.x.x
X.x.x.x must be in the form of a primary network; # x.x.x.x represents a network scope @ this command focuses on the directly connected port on the local device @ the port where the IP address is covered by the network range represented by x.x.x.x, and enables the RIP protocol process:% this port can send RIP messages;% this port can receive RIP messages % the network part of the IP address of the port can be put into the RIP message and transmitted; for example:
Router rip
Network 10.0.0.0
Network 192.168.12.0
Interface loopback 0-> 10.10.1.1 255.255.255.0
Interface fas0/0-- > 192.168.12.1 255.255.255.0
RIP:
1. Enable the protocol
2. Configuration version 2
3. Turn off automatic summarization
4. Declare the route and send / receive
-Proclamation mode
Network
# only for direct connections
# essential commands
# this command ensures whether a physical interface can send and receive messages
This command determines whether a port can enable RIP protocol processes.
Redistribute (redistribute / republish)
# it can be used for any type of route (as long as it is in the routing table)
# but this command is only responsible for loading routes from the routing table into RIP
In the respone message
R1:
Router rip
Version 2
No auto-summary
Network 192.168.12.0
Network 10.0.0.0
!
R2:
Router rip
Version 2
No auto-summary
Network 192.168.12.0
Redistribute static / pull the static routes in the local routing table of R2 into
Into the RIP message to pass it to R1
Ip route 100.1.1.0 255.255.255.0 192.168.23.2
!
Verify the command:
Show ip protocols
Show ip rotue
Show ip route rip
Note:
In any routing protocol in the future
All routes declared by network are called internal routes.
All routes declared by redistribute are called external routes.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.