RIPv2 (5 Points)
Objectives
config t
interface Loopback1
ip address 192.168.1.1 255.255.255.0
interface Loopback2
ip address 192.168.2.1 255.255.255.0
interface Loopback3
ip address 192.168.3.1 255.255.255.0
interface Loopback4
ip address 192.168.4.1 255.255.255.0
interface Loopback5
ip address 192.168.5.1 255.255.255.0
interface Loopback6
ip address 192.168.6.1 255.255.255.0
interface Loopback7
ip address 192.168.7.1 255.255.255.0
interface Loopback8
ip address 192.168.8.1 255.255.255.0
interface Loopback9
ip address 192.168.9.1 255.255.255.0
interface Loopback10
ip address 192.168.10.1 255.255.255.0
interface Loopback11
ip address 191.167.1.1 255.255.255.0
interface Loopback12
ip address 191.167.2.1 255.255.255.0
interface Loopback13
ip address 191.167.3.1 255.255.255.0
interface Loopback14
ip address 191.167.4.1 255.255.255.0
interface Loopback15
ip address 191.167.5.1 255.255.255.0
interface Loopback16
ip address 191.167.6.1 255.255.255.0
interface Loopback17
ip address 191.167.7.1 255.255.255.0
interface Loopback18
ip address 191.167.8.1 255.255.255.0
interface Loopback19
ip address 191.167.9.1 255.255.255.0
interface Loopback20
ip address 191.167.10.1 255.255.255.0
exit
router rip
ve 2
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
network 192.168.5.0
network 192.168.6.0
network 192.168.7.0
network 192.168.8.0
network 192.168.9.0
network 192.168.10.0
network 191.167.1.0
network 191.167.2.0
network 191.167.3.0
network 191.167.4.0
network 191.167.5.0
network 191.167.6.0
network 191.167.7.0
network 191.167.8.0
network 191.167.9.0
network 191.167.10.0
exit
exit
wr
commands
confif t
router rip
version 2
passive-interface default
no passive-interface Ethernet2/0
network 170.12.0.0
Explanation
passive-interface default ----------------------------------------(turns off rip on all the interfaces)
no passive interface fastehthernet fa2/0------------------- (rip will be only active on fastethernet fa2/0)
config t
router rip
version
timers basic 60 240 240 300
Explanation
timers basic 60 240 240 300 ( 1 min 4 min 4 min 5 min)
show ip protocol
Router 7
commands
config t
access-list 5 permit 192.168.0.0 0.0.25.255
router rip
distribute-list 5 in ethernet 2/0
exit
exit
wr
clear ip route *
clear ip route * (to clear routing table)
show commands
show ip protocol
show ip route
config t
router ospf 1
redistribute rip subnets metric 1785 metric-type 1 tag 5
Explanation
router ospf 1
redistribute rip subnets
metric1785-----------------------(100/.056kbps=1785 )
metric 1---------------------------(increment the metric)
tag 5------------------------------(tag it for loop privation)
go to router 4 and check for the routes from the rip backbone
config t
access-list 10 permit 180.1.40.0 0.0.255.255
route-map OSPF_2_RIP
match ip address 10
exit
exit
config t
router rip
redistribute ospf 1 route-map OSPF_2_RIP metric 5
debug ip rip
clear ip route *
show ip protocol
show ip route