Configuration of RIP
Configuration of interface:-
R1(config)# int f0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if# no shutdown
R2(config)# int f0/0
R2(config-if)# ip address 192.168.1.2 255.255.255.0
R2(config-if)# no shutdown
Configuration of RIP Protocol:-
R1(config)# router rip
R1(config-router)#network 192.168.1.0
R2(config)# router rip
R2(config-router)#network 192.168.1.0
Troubleshooting command
R2#show ip route
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, FastEthernet0/0
L 192.168.1.2/32 is directly connected, FastEthernet0/0
R1#show ip route
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, FastEthernet0/0
L 192.168.1.1/32 is directly connected, FastEthernet0/0
R1#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
R2#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 7 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Configuration of Time
R2(config)#router rip
R2(config-router)#timers basic 20 120 120 160
The timers basic command allows us to change the update (20), invalid (120), hold-down (120), and flush (240) timers. To return the timers back to their defaults
R2#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 20 seconds, next due in 2 seconds
Invalid after 120 seconds, hold down 120, flushed after 160
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Router(config-router)# no timers basic
remain same (by default time set)
Configuration of passive interface:-
R1(config)# router rip
R1(config-router)# network 192.168.1.0
R1(config-router)# passive-interface f0/0
Manual Configure Neighbor:-
R1(config)# router rip
R1(config)# neighbor 192.168.1.2
R2(config)# router rip
R2(config)# neighbor 192.168.1.1
RIPv2 Authentication
R1(config)#key chain MYCHAIN
R1(config-keychain)#key 1
R1(config-keychain-key)# key-string MYPASSWORD
R2(config)#key chain MYCHAIN
R2(config-keychain)#key 1
R2(config-keychain-key)# key-string MYPASSWORD
Configuration of interface:-
R1(config)# int f0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if# no shutdown
R2(config)# int f0/0
R2(config-if)# ip address 192.168.1.2 255.255.255.0
R2(config-if)# no shutdown
Configuration of RIP Protocol:-
R1(config)# router rip
R1(config-router)#network 192.168.1.0
R2(config)# router rip
R2(config-router)#network 192.168.1.0
Troubleshooting command
R2#show ip route
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, FastEthernet0/0
L 192.168.1.2/32 is directly connected, FastEthernet0/0
R1#show ip route
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, FastEthernet0/0
L 192.168.1.1/32 is directly connected, FastEthernet0/0
R1#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
R2#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 7 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Configuration of Time
R2(config)#router rip
R2(config-router)#timers basic 20 120 120 160
The timers basic command allows us to change the update (20), invalid (120), hold-down (120), and flush (240) timers. To return the timers back to their defaults
R2#show ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 20 seconds, next due in 2 seconds
Invalid after 120 seconds, hold down 120, flushed after 160
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Router(config-router)# no timers basic
remain same (by default time set)
Configuration of passive interface:-
R1(config)# router rip
R1(config-router)# network 192.168.1.0
R1(config-router)# passive-interface f0/0
Manual Configure Neighbor:-
R1(config)# router rip
R1(config)# neighbor 192.168.1.2
R2(config)# router rip
R2(config)# neighbor 192.168.1.1
RIPv2 Authentication
R1(config)#key chain MYCHAIN
R1(config-keychain)#key 1
R1(config-keychain-key)# key-string MYPASSWORD
R2(config)#key chain MYCHAIN
R2(config-keychain)#key 1
R2(config-keychain-key)# key-string MYPASSWORD
thank
ReplyDelete