Vous êtes sur la page 1sur 6

EJERCICIO RIP OSPF EIGRP REDISTRIBUCION RM DL

=======R1=========

interface loopback 0

enable

ip address 192.168.48.1 255.255.255.0

configure terminal

exit

hostname R1
interface loopback 1
line console 0

ip address 192.168.49.1 255.255.255.0

password cisco

exit

login
exit

interface loopback 2

network 192.168.51.0

ip address 192.168.50.1 255.255.255.0

network 12.0.0.0

exit

no auto-summary
end

interface loopback 3

wr

ip address 192.168.51.1 255.255.255.0


exit

============R2===========
enable

interface serial 0/0

configure terminal

ip address 12.0.0.1 255.255.255.252

hostname R2

clock rate 64000


no shutdown

line console 0

exit

password cisco
login

access-list 10 deny 192.168.30.0


0.0.0.255

exit

access-list 10 deny 192.168.40.0


0.0.0.255

interface loopback 4

access-list 10 permit any

ip address 192.168.25.1 255.255.255.0


ip ospf network point-to-point

router rip

exit

version 2
distribute-list 10 in

interface loopback 5

passive-interface default

ip address 192.168.35.1 255.255.255.0

no passive-interface serial 0/0

ip ospf network point-to-point

network 192.168.48.0

exit

network 192.168.49.0
network 192.168.50.0

interface serial 0/0


ip address 23.0.0.1 255.255.255.0
clock rate 64000
no shutdown

network 192.168.25.0 0.0.0.255 area 1


network 192.168.35.0 0.0.0.255 area 1
end
wr

exit

==========R3========
interface serial 0/1
enable
ip address 12.0.0.2 255.255.255.252
configure terminal
clock rate 64000
hostname R3
no shutdown
exit
line console 0
password cisco
router rip
login
version 2
exit
redistribute ospf 1 metric 4
passive-interface default
interface loopback 6
no passive-interface serial 0/1
ip address 192.168.8.1 255.255.255.0
network 12.0.0.0
ip ospf network point-to-point
exit
exit

router ospf 1
interface loopback 7
distance ospf intra-area 105 inter-area
115 external 175
redistribute rip subnets metric-type 1
metric 50000
passive-interface default
no passive-interface serial 0/0
network 23.0.0.0 0.0.0.255 area 0

ip address 192.168.9.1 255.255.255.0


ip ospf network point-to-point
exit

interface loopback 8

nterface serial 0/1

ip address 192.168.10.1 255.255.255.0

ip address 23.0.0.2 255.255.255.0

ip ospf network point-to-point

clock rate 64000

exit

no shutdown
exit

interface loopback 9
ip address 192.168.11.1 255.255.255.0

access-list 1 permit 192.168.35.0


0.0.0.255

ip ospf network point-to-point


exit

interface loopback 10

access-list 1 permit 192.168.25.0


0.0.0.255

router-map redis-ospf deny 10

ip address 192.168.30.1 255.255.255.0

match ip address 1

ip ospf network point-to-point

exit

exit
route-map redis-ospf permit 20
interface loopback 11

exit

ip address 192.168.40.1 255.255.255.0


ip ospf network point-to-point

router ospf 1

exit

area 2 range 192.168.8.0 255.255.252.0


redistribute eigrp 65500 subnets

interface serial 0/0

passive-interface default

ip address 34.0.0.1 255.255.255.0

no passive-interface serial 0/1

clock rate 64000

network 23.0.0.0 0.0.0.255 area 0

no shutdown

network 192.168.8.0 0.0.0.255 area 2

exit

network 192.168.9.0 0.0.0.255 area 2


network 192.168.10.0 0.0.0.255 area 2

network 192.168.11.0 0.0.0.255 area 2

interface loopback 12

network 192.168.30.0 0.0.0.255 area 3

ip address 192.168.56.1 255.255.255.0

network 192.168.40.0 0.0.0.255 area 3

exit

exit
interface loopback 13
router eigrp 65500

ip address 192.168.57.1 255.255.255.0

no auto-summary

exit

redistribute ospf 1 metric 1544 2000 255


1 1500 route-map redis-ospf

interface loopback 14

passive-interface default
ip address 192.168.58.1 255.255.255.0
no passive-interface serial 0/0
exit
network 34.0.0.0 0.0.0.255
end
interface loopback 15
wr
ip address 192.168.59.1 255.255.255.0
exit

============R4============
enable
configure terminal
hostname R4

interface serial 0/1


ip summary-address eigrp 65500
192.168.56.0 255.255.252.0
ip address 34.0.0.2 255.255.255.0

line console 0

clock rate 64000

password cisco

no shutdown

login

exit

exit

router eigrp 65500


no auto-summary
distance eigrp 95 165
passive-interface default
no passive-interface serial 0/1
network 34.0.0.0 0.0.0.255
network 192.168.56.0 0.0.0.255
network 192.168.57.0 0.0.0.255
network 192.168.58.0 0.0.0.255
network 192.168.59.0 0.0.0.255
end
wr

Vous aimerez peut-être aussi