Is auhentication support in RIP v1 ?
For RIP v2 authentication
Create 30 loopbacks on R1
R2(config)#key chain ?
WORD Key-chain name
R2(config)#key
chain AUTH
R2(config-keychain)#key ?
<0-2147483647> Key identifier
R2(config-keychain)#key 123
R2(config-keychain-key)#key-string ?
0 Specifies an UNENCRYPTED password
will follow
7 Specifies a HIDDEN password will
follow
LINE The UNENCRYPTED (cleartext)
user password
R2(config-keychain-key)#key-string 123
R2(config-keychain-key)#exi
R2(config-keychain)#exi
R2(config)#int
f 1/0
R2(config-if)#ip rip authentication
?
key-chain Authentication
key-chain
mode Authentication mode
R2(config-if)#ip rip authentication key-chain AUTH
R3(config)#key chain AUTH
R3(config-keychain)#key 123
R3(config-keychain-key)#key-string 123
R3(config-keychain-key)#end
R3(config)#int
f 0/0
R3(config-if)#ip rip authentication key-chain AUTH
(Note: after running authentication,
RIP update only contains 24 routes per
packet instead of 25)
R3#debug ip rip events
RIP event debugging is on
R3#
*Mar 1 00:30:05.975: RIP: sending v2
update to 224.0.0.9 via FastEthernet0/0 (10.1.13.3) - suppressing null update
R3#
*Mar 1 00:30:24.727: RIP: received
v2 update from 10.1.13.2 on FastEthernet0/0
*Mar 1 00:30:24.739: RIP: Update contains 24 routes
*Mar 1 00:30:24.743: RIP: received
v2 update from 10.1.13.2 on FastEthernet0/0
*Mar 1 00:30:24.747: RIP: Update
contains 6 routes
R3#debug ip rip
RIP protocol debugging
is on
R3#debug ip rip events
RIP event debugging is
on
R3#
*Mar
1 00:19:15.555: RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0
(10.1.13.3)
*Mar
1 00:19:15.559: RIP: build update entries - suppressing null update
*Mar
1 00:19:15.679: RIP: received packet with
text authentication 123
*Mar
1 00:19:15.679: RIP: received v2 update from 10.1.13.2 on
FastEthernet0/0
*Mar
1 00:19:15.683: 1.1.1.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.683: 2.2.2.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.687: 3.3.3.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.691: 4.4.4.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.691: 5.5.5.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.695: 6.6.6.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.699: 7.7.7.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.699: 8.8.8.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.703: 9.9.9.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.707: 10.1.12.0/24
via 0.0.0.0 in 1 hops
*Mar
1 00:19:15.707: 10.10.10.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.711: 11.11.11.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.711: 12.12.12.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.715: 14.14.14.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.719: 15.15.15.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.719: 16.16.16.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.723: 17.17.17.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.727: 18.18.18.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.727: 19.19.19.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.731: 20.20.20.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.735: 21.21.21.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.735: 22.22.22.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.739: 23.23.23.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: 24.24.24.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: RIP: Update contains 24
routes
*Mar
1 00:19:15.743: RIP: received packet with
text authentication 123
*Mar
1 00:19:15.743: RIP: received v2 update from 10.1.13.2 on
FastEthernet0/0
*Mar
1 00:19:15.743: 25.25.25.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: 26.26.26.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: 27.27.27.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: 28.28.28.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: 29.29.29.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: 30.30.30.0/24
via 0.0.0.0 in 2 hops
*Mar
1 00:19:15.743: RIP: Update contains 6 routes
For RIPv1 authentication
RIP v1 does not support authentication
R1(config)#key
chain new
R1(config-keychain)#key
1
R1(config-keychain-key)#key-string
123
R1(config-keychain-key)#exi
R1(config-keychain)#exi
R1(config)#int
f 0/0
R1(config-if)#ip
rip auth key-chain new
R2(config)#key
chain new
R2(config-keychain)#key
1
R2(config-keychain-key)#key-string
123
R2(config-keychain-key)#end
R2#conf
t
R2(config)#int
f 0/0
R2(config-if)#ip
rip auth key-chain new
R2#debug
ip rip
RIP
protocol debugging is on
R2#
*Mar 1 00:04:13.811: RIP: sending v1 update to 255.255.255.255 via
FastEthernet0/0 (10.1.12.2)
*Mar 1 00:04:13.815: RIP: build update entries
*Mar 1 00:04:13.815: network 2.0.0.0 metric 1
*Mar 1 00:04:13.819: network 3.0.0.0 metric 2
*Mar 1 00:04:13.819: subnet 10.1.13.0 metric 1
*Mar 1 00:04:13.823: RIP: sending v1 update to
255.255.255.255 via Loopback0 (2.2.2.2)
*Mar 1 00:04:13.823: RIP: build update entries
*Mar 1 00:04:13.827: network 1.0.0.0 metric 2
*Mar 1 00:04:13.827: network 3.0.0.0 metric 2
*Mar 1 00:04:13.831: network 10.0.0.0 metric 1
*Mar 1 00:04:13.855: RIP: sending v1 update to
255.255.255.255 via FastEthernet1/0 (10.1.13.2)
R2#
*Mar 1 00:04:13.859: RIP: build update entries
*Mar 1 00:04:13.859: network 1.0.0.0 metric 2
*Mar 1 00:04:13.863: network 2.0.0.0 metric 1
*Mar 1 00:04:13.863: subnet 10.1.12.0 metric 1
R2#
*Mar 1 00:04:16.827: RIP: received v1 update from
10.1.13.3 on FastEthernet1/0
*Mar 1 00:04:16.831: 3.0.0.0 in 1 hops
R2#
*Mar 1 00:04:17.979: RIP: received v1 update from
10.1.12.1 on FastEthernet0/0
*Mar 1 00:04:17.983: 1.0.0.0 in 1 hops
No comments:
Post a Comment