Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
RIP (Routing Information Protocol). Document Version 1.1.
Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330
Updated material may be found at http://www.deepuverma.in
LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw
Today we are covered about RIP Version 2 in real time configuration.
Last time we covered about RIP Basic and RIP Version 1 in details configuration on Cisco Router. Here I
am attached some basic again about RIP and RIP Version 2.
Routing Information Protocol (RIP) is a standardized
Distance Vector protocol (First true Distance Vector), and used on smaller networks. RIP uses the
“Bellman-Ford” Distance Vector algorithm to determine the best “path” to a particular destination. The
maximum number of hops allowed for RIP is 15. This hop limit, however, also limits the size of networks
that RIP can support. A hop count of 16 is considered an infinite distance or poison route, in other
words the route is considered unreachable.
Some Specification of RIP Protocol:
1. AD (Administrator Distance) is 120.
2. RIP sends out periodic routing updates after every 30 seconds with full routing table.
3. RIP uses a form of distance (Hopcount) as it’s metric, maximum hopcount are 15 hops.
4. RIP uses the “Bellman-Ford Distance Vector algorithm”.
5. RIP Utilize UDP Port 520.
6. RIP Support IP and IPX Routing.
7. RIP has two Versions (RIP Version 1 and RIP Version 2). (For IPv6 is RIPng, it’s not a Version of
RIP)
RIP will load balance between those paths (default, up to 4) only if the metric (hopcount) is equal. RIP
uses a round-robin system of load-balancing between equal metric routes, which can lead to pinhole
congestion.
Timers
RIP uses the following timers as part of its operation:
1. Update Timer – Default 30 Seconds.
2. Invalid Timer - Default 180 Seconds, After expires Invalid timer the hop count of the routing
entry will be set to 16, marking the destination as unreachable.
3. Flush Timer – Default 240 Seconds.
RIP (Routing Information Protocol). Document Version 1.1.
Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330
Updated material may be found at http://www.deepuverma.in
LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw
4. Holddown Timer - Default is 180 Seconds (This is Cisco's implementation and can word on only
Cisco Routers)
Limitations
The hop count cannot exceed 15, otherwise it will be considered invalid. Most RIP networks are flat.
There is no concept of areas or boundaries in RIP networks. Variable Length Subnet Masks are not
supported by RIP version 1. RIP has slow convergence and count to infinity problems.
RIP Versions
RIP has two versions, RIPv1 and RIPv2.
RIP Version 1 (RIPv1):
1. RIPv1 is classful, and therefore does not include the subnet mask with its routing table updates.
2. RIPv1 does not support Variable Length Subnet Masks (VLSMs).
3. RIPv1 sends updates as broadcasts to address 255.255.255.255.
4. RIPv1 has maximum hopcount is 15 hops.
5. RIPv1 does not support authentication.
6. RIPv1 routers will send only Version 1 packets.
7. RIPv1 routers will receive both Version 1 and 2 updates.
8. Cisco Routers by default support RIPv1.
RIP Version 2 (RIPv2):
1. RIPv2 is classless, and therefore does include the subnet mask with its routing table updates.
2. RIPv2 fully supports VLSMs.
3. Routing updates are sent via multicast, using address 224.0.0.9
4. Encrypted authentication can be configured between RIPv2 routers
5. Route tagging is supported.
6. RIPv2 routers will both send and receive only Version 2 updates
7. We can control the version of RIP a particular interface will “send” or “receive.”
8. RIPv2 is manually specified on, a Cisco will default to RIPv1 when configuring RIP.
9. User below mention command for change version on Cisco Routers
Router(config)#router rip
Router(config-router)#version 2
RIP (Routing Information Protocol). Document Version 1.1.
Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330
Updated material may be found at http://www.deepuverma.in
LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw
Configuration of RIPv2
As per image, take a network Diagram for testing RIPv1 Configuration.
Let’s Check Router Configuration on R0:-
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
RIP (Routing Information Protocol). Document Version 1.1.
Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330
Updated material may be found at http://www.deepuverma.in
LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.2.1 255.255.255.252
!
interface Serial0/0/1
ip address 192.168.3.6 255.255.255.252
!
!
router rip
version 2
network 192.168.2.0
network 192.168.3.0
network 192.168.10.0
no auto-summary
!
Let’s Check Router Configuration on R1:-
interface FastEthernet0/0
ip address 192.168.30.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 192.168.2.2 255.255.255.252
clock rate 2000000
!
interface Serial0/0/1
ip address 192.168.3.5 255.255.255.252
clock rate 2000000
RIP (Routing Information Protocol). Document Version 1.1.
Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330
Updated material may be found at http://www.deepuverma.in
LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw
!
router rip
version 2
network 192.168.2.0
network 192.168.3.0
network 192.168.20.0
network 192.168.30.0
no auto-summary
!
Let’s Check Router Configuration on R2:-
interface FastEthernet0/0
ip address 192.168.30.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.40.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
!
router rip
version 2
network 192.168.30.0
network 192.168.40.0
no auto-summary
RIP (Routing Information Protocol). Document Version 1.1.
Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330
Updated material may be found at http://www.deepuverma.in
LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw
Project Success:-
1. Project Ping test pass
2. Project Ready to work on Live Network
3. Load Balancing is tested.
Let’s Testing load Balancing: - (Tracert command from Laptop2 to Laptop0)
PC>tracert 192.168.10.2
Tracing route to 192.168.10.2 over a maximum of 30 hops:
1 1 ms 0 ms 1 ms 192.168.40.1
2 1 ms 0 ms 0 ms 192.168.30.1
3 0 ms 2 ms 2 ms 192.168.3.6
4 20 ms 0 ms 1 ms 192.168.10.2
Trace complete.
(Tracert command from Laptop1 to Laptop0)
PC>tracert 192.168.10.2
Tracing route to 192.168.10.2 over a maximum of 30 hops:
1 0 ms 0 ms 1 ms 192.168.20.1
2 1 ms 0 ms 0 ms 192.168.2.1
3 31 ms 0 ms 0 ms 192.168.10.2
Trace complete.
Test RIP Database on Routers
R2#sho ip rip database
192.168.2.0/30 auto-summary
192.168.2.0/30
[1] via 192.168.30.1, 00:00:23, FastEthernet0/0
192.168.3.4/30 auto-summary
192.168.3.4/30
RIP (Routing Information Protocol). Document Version 1.1.
Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330
Updated material may be found at http://www.deepuverma.in
LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw
[1] via 192.168.30.1, 00:00:23, FastEthernet0/0
192.168.10.0/24 auto-summary
192.168.10.0/24
[2] via 192.168.30.1, 00:00:23, FastEthernet0/0
192.168.20.0/24 auto-summary
192.168.20.0/24
[1] via 192.168.30.1, 00:00:23, FastEthernet0/0
192.168.30.0/24 auto-summary
192.168.30.0/24 directly connected, FastEthernet0/0
192.168.40.0/24 auto-summary
192.168.40.0/24 directly connected, FastEthernet0/1
R2#
R1#sho ip rip database
192.168.2.0/30 auto-summary
192.168.2.0/30 directly connected, Serial0/0/0
192.168.3.4/30 auto-summary
192.168.3.4/30 directly connected, Serial0/0/1
192.168.10.0/24 auto-summary
192.168.10.0/24
[1] via 192.168.2.1, 00:00:22, Serial0/0/0 [1] via 192.168.3.6, 00:00:22, Serial0/0/1
192.168.20.0/24 auto-summary
192.168.20.0/24 directly connected, FastEthernet0/1
192.168.30.0/24 auto-summary
192.168.30.0/24 directly connected, FastEthernet0/0
192.168.40.0/24 auto-summary
192.168.40.0/24
[1] via 192.168.30.2, 00:00:18, FastEthernet0/0
No auto-summary command forces the advertisement of two different subnets from different interfaces
within the same network.
-----------------------------End RIP Document Version 1.1 by Deepak Kumar -----------------------------------
Note: - RIP Troubleshooting Document will soon. Drop an email to get document in your inbox.

More Related Content

Rip 2 docoments version 1.1 by deepak kumar

  • 1. RIP (Routing Information Protocol). Document Version 1.1. Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330 Updated material may be found at http://www.deepuverma.in LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw Today we are covered about RIP Version 2 in real time configuration. Last time we covered about RIP Basic and RIP Version 1 in details configuration on Cisco Router. Here I am attached some basic again about RIP and RIP Version 2. Routing Information Protocol (RIP) is a standardized Distance Vector protocol (First true Distance Vector), and used on smaller networks. RIP uses the “Bellman-Ford” Distance Vector algorithm to determine the best “path” to a particular destination. The maximum number of hops allowed for RIP is 15. This hop limit, however, also limits the size of networks that RIP can support. A hop count of 16 is considered an infinite distance or poison route, in other words the route is considered unreachable. Some Specification of RIP Protocol: 1. AD (Administrator Distance) is 120. 2. RIP sends out periodic routing updates after every 30 seconds with full routing table. 3. RIP uses a form of distance (Hopcount) as it’s metric, maximum hopcount are 15 hops. 4. RIP uses the “Bellman-Ford Distance Vector algorithm”. 5. RIP Utilize UDP Port 520. 6. RIP Support IP and IPX Routing. 7. RIP has two Versions (RIP Version 1 and RIP Version 2). (For IPv6 is RIPng, it’s not a Version of RIP) RIP will load balance between those paths (default, up to 4) only if the metric (hopcount) is equal. RIP uses a round-robin system of load-balancing between equal metric routes, which can lead to pinhole congestion. Timers RIP uses the following timers as part of its operation: 1. Update Timer – Default 30 Seconds. 2. Invalid Timer - Default 180 Seconds, After expires Invalid timer the hop count of the routing entry will be set to 16, marking the destination as unreachable. 3. Flush Timer – Default 240 Seconds.
  • 2. RIP (Routing Information Protocol). Document Version 1.1. Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330 Updated material may be found at http://www.deepuverma.in LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw 4. Holddown Timer - Default is 180 Seconds (This is Cisco's implementation and can word on only Cisco Routers) Limitations The hop count cannot exceed 15, otherwise it will be considered invalid. Most RIP networks are flat. There is no concept of areas or boundaries in RIP networks. Variable Length Subnet Masks are not supported by RIP version 1. RIP has slow convergence and count to infinity problems. RIP Versions RIP has two versions, RIPv1 and RIPv2. RIP Version 1 (RIPv1): 1. RIPv1 is classful, and therefore does not include the subnet mask with its routing table updates. 2. RIPv1 does not support Variable Length Subnet Masks (VLSMs). 3. RIPv1 sends updates as broadcasts to address 255.255.255.255. 4. RIPv1 has maximum hopcount is 15 hops. 5. RIPv1 does not support authentication. 6. RIPv1 routers will send only Version 1 packets. 7. RIPv1 routers will receive both Version 1 and 2 updates. 8. Cisco Routers by default support RIPv1. RIP Version 2 (RIPv2): 1. RIPv2 is classless, and therefore does include the subnet mask with its routing table updates. 2. RIPv2 fully supports VLSMs. 3. Routing updates are sent via multicast, using address 224.0.0.9 4. Encrypted authentication can be configured between RIPv2 routers 5. Route tagging is supported. 6. RIPv2 routers will both send and receive only Version 2 updates 7. We can control the version of RIP a particular interface will “send” or “receive.” 8. RIPv2 is manually specified on, a Cisco will default to RIPv1 when configuring RIP. 9. User below mention command for change version on Cisco Routers Router(config)#router rip Router(config-router)#version 2
  • 3. RIP (Routing Information Protocol). Document Version 1.1. Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330 Updated material may be found at http://www.deepuverma.in LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw Configuration of RIPv2 As per image, take a network Diagram for testing RIPv1 Configuration. Let’s Check Router Configuration on R0:- interface FastEthernet0/0 ip address 192.168.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto
  • 4. RIP (Routing Information Protocol). Document Version 1.1. Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330 Updated material may be found at http://www.deepuverma.in LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw speed auto shutdown ! interface Serial0/0/0 ip address 192.168.2.1 255.255.255.252 ! interface Serial0/0/1 ip address 192.168.3.6 255.255.255.252 ! ! router rip version 2 network 192.168.2.0 network 192.168.3.0 network 192.168.10.0 no auto-summary ! Let’s Check Router Configuration on R1:- interface FastEthernet0/0 ip address 192.168.30.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 ip address 192.168.20.1 255.255.255.0 duplex auto speed auto ! interface Serial0/0/0 ip address 192.168.2.2 255.255.255.252 clock rate 2000000 ! interface Serial0/0/1 ip address 192.168.3.5 255.255.255.252 clock rate 2000000
  • 5. RIP (Routing Information Protocol). Document Version 1.1. Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330 Updated material may be found at http://www.deepuverma.in LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw ! router rip version 2 network 192.168.2.0 network 192.168.3.0 network 192.168.20.0 network 192.168.30.0 no auto-summary ! Let’s Check Router Configuration on R2:- interface FastEthernet0/0 ip address 192.168.30.2 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 ip address 192.168.40.1 255.255.255.0 duplex auto speed auto ! interface Serial0/0/0 no ip address clock rate 2000000 shutdown ! interface Serial0/0/1 no ip address clock rate 2000000 shutdown ! ! router rip version 2 network 192.168.30.0 network 192.168.40.0 no auto-summary
  • 6. RIP (Routing Information Protocol). Document Version 1.1. Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330 Updated material may be found at http://www.deepuverma.in LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw Project Success:- 1. Project Ping test pass 2. Project Ready to work on Live Network 3. Load Balancing is tested. Let’s Testing load Balancing: - (Tracert command from Laptop2 to Laptop0) PC>tracert 192.168.10.2 Tracing route to 192.168.10.2 over a maximum of 30 hops: 1 1 ms 0 ms 1 ms 192.168.40.1 2 1 ms 0 ms 0 ms 192.168.30.1 3 0 ms 2 ms 2 ms 192.168.3.6 4 20 ms 0 ms 1 ms 192.168.10.2 Trace complete. (Tracert command from Laptop1 to Laptop0) PC>tracert 192.168.10.2 Tracing route to 192.168.10.2 over a maximum of 30 hops: 1 0 ms 0 ms 1 ms 192.168.20.1 2 1 ms 0 ms 0 ms 192.168.2.1 3 31 ms 0 ms 0 ms 192.168.10.2 Trace complete. Test RIP Database on Routers R2#sho ip rip database 192.168.2.0/30 auto-summary 192.168.2.0/30 [1] via 192.168.30.1, 00:00:23, FastEthernet0/0 192.168.3.4/30 auto-summary 192.168.3.4/30
  • 7. RIP (Routing Information Protocol). Document Version 1.1. Deepak Kumar (deepuverma@outlook.com), Call: - +91 - 8875332931 / 9214012330 Updated material may be found at http://www.deepuverma.in LinkedIn: - https://in.linkedin.com/in/engdeepak Twitter: - https://twitter.com/Deepakkhw [1] via 192.168.30.1, 00:00:23, FastEthernet0/0 192.168.10.0/24 auto-summary 192.168.10.0/24 [2] via 192.168.30.1, 00:00:23, FastEthernet0/0 192.168.20.0/24 auto-summary 192.168.20.0/24 [1] via 192.168.30.1, 00:00:23, FastEthernet0/0 192.168.30.0/24 auto-summary 192.168.30.0/24 directly connected, FastEthernet0/0 192.168.40.0/24 auto-summary 192.168.40.0/24 directly connected, FastEthernet0/1 R2# R1#sho ip rip database 192.168.2.0/30 auto-summary 192.168.2.0/30 directly connected, Serial0/0/0 192.168.3.4/30 auto-summary 192.168.3.4/30 directly connected, Serial0/0/1 192.168.10.0/24 auto-summary 192.168.10.0/24 [1] via 192.168.2.1, 00:00:22, Serial0/0/0 [1] via 192.168.3.6, 00:00:22, Serial0/0/1 192.168.20.0/24 auto-summary 192.168.20.0/24 directly connected, FastEthernet0/1 192.168.30.0/24 auto-summary 192.168.30.0/24 directly connected, FastEthernet0/0 192.168.40.0/24 auto-summary 192.168.40.0/24 [1] via 192.168.30.2, 00:00:18, FastEthernet0/0 No auto-summary command forces the advertisement of two different subnets from different interfaces within the same network. -----------------------------End RIP Document Version 1.1 by Deepak Kumar ----------------------------------- Note: - RIP Troubleshooting Document will soon. Drop an email to get document in your inbox.