You are on page 1of 6

================ROUTER 1=================

enable
configure terminal
hostname R1
enable secret cisco
line vty 0 4
password cisco
login
exit
line console 0
password cisco
login
exit
interface serial 0/0/0
ip address 172.16.8.1 255.255.248.0
clock rate 64000
bandwidth 512
no shutdown
exit
interface serial 0/0/1
ip address 172.16.24.2 255.255.248.0
clock rate 64000
ip ospf hello-interval 5
ip ospf dead-interval 20
no shutdown
exit
interface fastethernet 0/0
ip address 172.16.32.1 255.255.248.0
no shutdown
exit
interface loopback 0
ip address 192.168.1.1 255.255.255.255
exit
router ospf 1
network 172.16.8.0 0.0.7.255 area 0
network 172.16.24.0 0.0.7.255 area 0
network 172.16.32.0 0.0.7.255 area 0
network 192.168.1.1 0.0.0.0 area 0
end
wr

================ROUTER 2=================
enable
configure terminal
hostname R2

enable secret cisco


line vty 0 4
password cisco
login
exit
line console 0
password cisco
login
exit
interface serial 0/0/0
ip address 172.16.16.1 255.255.248.0
clock rate 64000
bandwidth 256
no shutdown
exit
interface serial 0/0/1
ip address 172.16.8.2 255.255.248.0
clock rate 64000
bandwidth 512
no shutdown
exit
interface fastethernet 0/0
ip address 172.16.40.1 255.255.248.0
no shutdown
exit
interface loopback 0
ip address 192.168.1.2 255.255.255.255
exit
router ospf 1
network 172.16.8.0 0.0.7.255 area 0
network 172.16.16.0 0.0.7.255 area 0
network 172.16.40.0 0.0.7.255 area 0
network 192.168.1.2 0.0.0.0 area 0
end
wr
================ROUTER 3=================
enable
configure terminal
hostname R3
enable secret cisco
line vty 0 4
password cisco
login
exit
line console 0
password cisco
login
exit
interface serial 0/0/0
ip address 172.16.24.1 255.255.248.0

clock rate 64000


ip ospf hello-interval 5
ip ospf dead-interval 20
no shutdown
exit
interface serial 0/0/1
ip address 172.16.16.2 255.255.248.0
clock rate 64000
bandwidth 256
no shutdown
exit
interface fastethernet 0/0
ip address 172.16.48.3 255.255.248.0
no shutdown
exit
interface loopback 1
ip address 44.44.44.44 255.255.255.255
exit
ip route 0.0.0.0 0.0.0.0 loopback 1
router ospf 1
network 172.16.16.0
network 172.16.24.0
network 172.16.48.0
default-information

0.0.7.255 area 0
0.0.7.255 area 0
0.0.7.255 area 0
originate

end
wr

================ROUTER 4=================
enable
configure terminal
hostname R4
enable secret cisco
line vty 0 4
password cisco
login
exit
line console 0
password cisco
login
exit
interface fastethernet 0/0
ip address 172.16.48.1 255.255.248.0
no shutdown
exit
interface fastethernet 0/1
ip address 172.16.56.2 255.255.248.0
ip ospf cost 10
no shutdown

exit
router ospf 1
network 172.16.56.0 0.0.7.255 area 0
network 172.16.48.0 0.0.7.255 area 0
end
wr
================ROUTER 5=================
enable
configure terminal
hostname R5
enable secret cisco
line vty 0 4
password cisco
login
exit
line console 0
password cisco
login
exit
interface fastethernet 0/0
ip address 172.16.56.1 255.255.248.0
ip ospf cost 10
no shutdown
exit
interface fastethernet 0/1
ip address 172.16.64.2 255.255.248.0
bandwidth 10000
no shutdown
exit
interface ethernet 0/0/0
ip address 172.16.72.1 255.255.248.0
no shutdown
exit
router ospf 1
router-id 10.0.0.1
network 172.16.56.0 0.0.7.255 area 0
network 172.16.64.0 0.0.7.255 area 0
network 172.16.72.0 0.0.7.255 area 0
end
wr
================ROUTER 6=================
enable
configure terminal
hostname R6
enable secret cisco

line vty 0 4
password cisco
login
exit
line console 0
password cisco
login
exit
interface fastethernet 0/0
ip address 172.16.64.1 255.255.248.0
bandwidth 10000
no shutdown
exit
interface fastethernet 0/1
ip address 172.16.48.2 255.255.248.0
no shutdown
exit
interface loopback 0
ip address 192.168.1.3 255.255.255.255
exit
router ospf 1
network 172.16.64.0 0.0.7.255 area 0
network 172.16.48.0 0.0.7.255 area 0
network 192.168.1.3 0.0.0.0 area 0
end
wr
====================================
PC1:
IP ADDRESS : 172.16.32.10
MASCARA
: 255.255.248.0
GATEWAY
: 172.16.32.1
PC2:
IP ADDRESS : 172.16.40.10
MASCARA
: 255.255.248.0
GATEWAY
: 172.16.40.1
PC5:
IP ADDRESS : 172.16.72.10
MASCARA
: 255.255.248.0
GATEWAY
: 172.16.72.1
=============CAMBIOS============
ENTRAR AL ROUTER 3 Y ESCRIBIR LOS
SIGUIENTES COMANDOS!!!!!
configure terminal

interface fastethernet 0/0


ip ospf priority 100
end
wr
= LUEGO APAGAR LOS ROUTER 3, 4, 5 Y 6
= ENCERDER EN ESTE ORDEN 3, 6, 4, 5.

You might also like