You are on page 1of 17

------------------------------

| Examen 2 Redes |
| Mauricio Fernández Ramírez |
| Configuraciones |
------------------------------

------------------------------ Router CERO-Principal-DHCP

enable
config t

hostname CERO-DHCP

ip dhcp ex 87.200.64.1
ip dhcp ex 170.192.0.1
ip dhcp ex 49.76.32.1
ip dhcp ex 221.242.0.1
ip dhcp ex 102.46.0.1
ip dhcp ex 75.113.0.1
ip dhcp ex 29.230.56.1
ip dhcp ex 72.0.0.1
ip dhcp ex 106.99.192.1
ip dhcp ex 6.0.0.1
ip dhcp ex 119.36.102.129
ip dhcp ex 144.220.183.1
ip dhcp ex 184.97.232.1
ip dhcp ex 191.0.0.1
ip dhcp ex 155.160.0.1
ip dhcp ex 190.174.42.161
ip dhcp ex 157.107.0.1
ip dhcp ex 212.224.0.1
ip dhcp ex 142.218.200.1

ip dhcp pool LAN-1


net 87.200.64.0 255.255.240.0
def 87.200.64.1

ip dhcp pool LAN-2


net 170.192.0.0 255.192.0.0
def 170.192.0.1

ip dhcp pool LAN-3


net 49.76.32.0 255.255.240.0
def 49.76.32.1

ip dhcp pool LAN-4


net 221.242.0.0 255.254.0.0
def 221.242.0.1

ip dhcp pool LAN-5


net 102.46.0.0 255.255.128.0
def 102.46.0.1

ip dhcp pool LAN-6


net 75.113.0.0 255.255.0.0
def 75.113.0.1

ip dhcp pool LAN-7


net 29.230.56.0 255.255.252.0
def 29.230.56.1

ip dhcp pool LAN-8


net 72.0.0.0 255.128.0.0
def 72.0.0.1

ip dhcp pool LAN-9


net 106.99.192.0 255.255.252.0
def 106.99.192.1

ip dhcp pool LAN-10


net 6.0.0.0 255.0.0.0
def 6.0.0.1

ip dhcp pool LAN-11


net 119.36.102.128 255.255.255.192
def 119.36.102.129

ip dhcp pool LAN-12


net 144.220.183.0 255.255.255.0
def 144.220.183.1

ip dhcp pool LAN-13


net 184.97.232.0 255.255.248.0
def 184.97.232.1

ip dhcp pool LAN-14


net 191.0.0.0 255.128.0.0
def 191.0.0.1

ip dhcp pool LAN-15


net 155.160.0.0 255.240.0.0
def 155.160.0.1

ip dhcp pool LAN-16


net 190.174.42.160 255.255.255.248
def 190.174.42.161

ip dhcp pool LAN-17


net 157.107.0.0 255.255.0.0
def 157.107.0.1

ip dhcp pool LAN-18


net 212.224.0.0 255.240.0.0
def 212.224.0.1

ip dhcp pool LAN-19


net 142.218.200.0 255.255.248.0
def 142.218.200.1

int se0/0
ip add 10.0.0.1 255.192.0.0
clock rate 64000
no shut

int gig7/0
ip add 87.200.64.1 255.255.240.0
no shut

route rip
version 2
network 10.0.0.0
network 87.200.64.0

end
write

------------------------------ Switch0-ClusterTipo3
enable
config t

no ip dhcp snooping information option

ip dhcp snooping

int gig1/1
ip dhcp snooping trust
no shut

end
write

----MUESTRA SWITCHES
enable
show ip dhcp snooping

------------------------------ Router UNO

enable
config t

hostname UNO

int se1/0
ip add 10.0.0.2 255.192.0.0
no shut

int gig7/0
ip add 170.192.0.1 255.192.0.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 188.64.222.253 255.255.255.252
clock rate 64000
no shut

route rip
version 2
network 10.0.0.0
network 170.192.0.0
network 188.64.222.252
end
write

------------------------------ Router DOS

enable
config t

hostname DOS

int se1/0
ip add 188.64.222.254 255.255.255.252
no shut

int gig7/0
ip add 49.76.35.99 255.255.240.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 62.64.0.1 255.192.0.0
clock rate 64000
no shut

route rip
version 2
network 188.64.222.252
network 49.76.35.98
network 62.64.0.0

end
write

------------------------------ Router TRES

enable
config t

hostname TRES

int se1/0
ip add 62.64.0.2 255.192.0.0
no shut

int gig7/0
ip add 221.242.0.1 255.254.0.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 186.230.0.1 255.255.0.0
clock rate 64000
no shut

route rip
version 2
network 62.64.0.0
network 221.242.0.0
network 186.230.0.0

end
write

------------------------------ Router CUATRO

enable
config t

hostname CUATRO

int se1/0
ip add 186.230.0.2 255.255.0.0
no shut

int gig7/0
ip add 102.46.0.1 255.255.128.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 141.161.64.1 255.255.224.0
clock rate 64000
no shut

route rip
version 2
network 186.230.0.0
network 102.46.0.0
network 141.161.64.0

end
write

------------------------------ Router CINCO

enable
config t

hostname CINCO

int se1/0
ip add 141.161.64.2 255.255.224.0
no shut
int gig7/0
ip add 75.113.0.1 255.255.0.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 172.88.20.129 255.255.255.128
clock rate 64000
no shut

route rip
version 2
network 141.161.64.0
network 75.113.0.0
network 172.88.20.128

end
write

------------------------------ Router SEIS

enable
config t

hostname SEIS

int se1/0
ip add 172.88.20.130 255.255.255.128
no shut

int fa4/0
ip add 29.230.56.1 255.255.252.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 59.251.240.1 255.255.252.0
clock rate 64000
no shut

route rip
version 2
network 172.88.20.128
network 29.230.56.0
network 59.251.240.0

end
write

------------------------------ Router SIETE


enable
config t

hostname SIETE

int se1/0
ip add 59.251.240.2 255.255.252.0
no shut

int gig7/0
ip add 72.0.0.1 255.128.0.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 115.84.0.1 255.254.0.0
clock rate 64000
no shut

route rip
version 2
network 59.251.240.0
network 72.0.0.0
network 115.84.0.0

end
write

------------------------------ Router OCHO

enable
config t

hostname OCHO

int se1/0
ip add 115.84.0.2 255.254.0.0
no shut

int gig7/0
ip add 106.99.192.1 255.255.252.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 179.205.64.1 255.255.224.0
clock rate 64000
no shut

route rip
version 2
network 115.84.0.0
network 106.99.192.0
network 179.205.64.0
end
write

------------------------------ Router NUEVE

enable
config t

hostname NUEVE

int se1/0
ip add 179.205.64.2 255.255.224.0
no shut

int gig7/0
ip add 6.0.0.1 255.0.0.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 138.14.208.1 255.255.240.0
clock rate 64000
no shut

route rip
version 2
network 179.205.64.0
network 6.0.0.0
network 138.14.208.0

end
write

------------------------------ Router DIEZ

enable
config t

hostname DIEZ

int se1/0
ip add 138.14.208.2 255.255.240.0
no shut

int gig7/0
ip add 119.36.102.129 255.255.255.192
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 8.250.96.2 255.255.252.0
clock rate 64000
no shut
route rip
version 2
network 138.14.208.0
network 119.36.102.128
network 8.250.96.0

end
write

------------------------------ Router ONCE

enable
config t

hostname ONCE

int se1/0
ip add 8.250.96.1 255.255.252.0
no shut

int gig7/0
ip add 144.220.183.1 255.255.255.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 137.93.208.1 255.255.248.0
clock rate 64000
no shut

route rip
version 2
network 8.250.96.0
network 144.220.183.0
network 137.93.208.0

end
write

------------------------------ Router DOCE


enable
config t

hostname DOCE

int se1/0
ip add 137.93.208.2 255.255.248.0
no shut

int gig7/0
ip add 184.97.232.1 255.255.248.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 43.160.0.1 255.240.0.0
clock rate 64000
no shut

route rip
version 2
network 137.93.208.0
network 184.97.232.0
network 43.160.0.0

end
write

------------------------------ Router TRECE


enable
config t

hostname TRECE

int se1/0
ip add 43.160.0.2 255.240.0.0
no shut

int gig7/0
ip add 191.0.0.1 255.128.0.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 67.144.0.1 255.240.0.0
clock rate 64000
no shut

route rip
version 2
network 43.160.0.0
network 191.0.0.0
network 67.144.0.0

end
write

------------------------------ Router CATORCE


enable
config t

hostname CATORCE

int se1/0
ip add 67.144.0.2 255.240.0.0
no shut
int gig7/0
ip add 155.160.0.1 255.240.0.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 156.160.0.1 255.224.0.0
clock rate 64000
no shut

route rip
version 2
network 67.144.0.0
network 155.160.0.0
network 156.160.0.0

end
write

------------------------------ Router QUINCE


enable
config t

hostname QUINCE

int se1/0
ip add 156.160.0.2 255.224.0.0
no shut

int fa4/0
ip add 190.174.42.161 255.255.255.248
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 69.34.0.1 255.254.0.0
clock rate 64000
no shut

route rip
version 2
network 156.160.0.0
network 190.174.42.160
network 69.34.0.0

end
write

------------------------------ Router DIECISEIS

enable
config t

hostname DIECISEIS
int se1/0
ip add 69.34.0.2 255.254.0.0
no shut

int gig9/0
ip add 157.107.0.1 255.255.0.0
ip helper-ad 10.0.0.1
no shut

int gig3/0
ip add 142.218.200.1 255.255.248.0
ip helper-ad 10.0.0.1
no shut

int se0/0
ip add 157.36.12.97 255.255.255.252
clock rate 64000
no shut

int se2/0
ip add 207.126.0.1 255.254.0.0
no shut

route rip
version 2
net 69.34.0.0
net 157.36.12.96
net 207.126.0.0
net 142.218.200.0
net 157.107.0.0

ip route 157.36.12.96 255.255.255.252 se0/0 1


ip route 207.126.0.0 255.254.0.0 se2/0 121

ip route 10.0.0.0 255.192.0.0 se1/0


ip route 87.200.64.0 255.255.240.0 se1/0
ip route 170.192.0.0 255.192.0.0 se1/0
ip route 188.64.222.252 255.255.255.252 se1/0
ip route 49.76.32.0 255.255.240.0 se1/0
ip route 183.52.0.0 255.252.0.0 se1/0

end
write

------------------------------ Router DIECISIETE

en
config t

hostname DIECISIETE

int se1/0
ip add 157.36.12.97 255.255.255.252
no shut

int se0/0
ip add 17.102.153.34 255.255.255.240
clock rate 64000
no shut

route rip
version 2
net 17.102.153.32
net 157.36.12.96

ip route 69.34.0.0 255.254.0.0 se1/0


ip route 10.0.0.0 255.192.0.0 se1/0
ip route 87.200.64.0 255.255.240.0 se1/0

ip route 170.192.0.0 255.192.0.0 se1/0 5

ip route 188.64.222.252 255.255.255.252 se1/0

ip route 49.76.32.0 255.255.240.0 se1/0 5


ip route 183.52.0.0 255.252.0.0 se1/0

------------------------------ Router DIECIOCHO

en
config t

hostname DIECIOCHO

int se2/0
ip add 207.126.0.2 255.254.0.0
clock rate 64000
no shut

int se1/0
ip add 17.102.153.34 255.255.255.240
no shut

int g8/0
ip add 212.224.0.1 255.240.0.0
ip helper-ad 10.0.0.1
no shut

int gig0/0
ip add 142.218.200.1 255.255.248.0
ip helper-ad 10.0.0.1
no shut

route rip
version 2
net 207.126.0.0
net 17.102.153.32
net 212.224.0.0
net 142.218.200.0

ip route 69.34.0.0 255.254.0.0 se2/0


ip route 10.0.0.0 255.192.0.0 se2/0
ip route 87.200.64.0 255.255.240.0 se2/0
ip route 170.192.0.0 255.192.0.0 se2/0
ip route 188.64.222.252 255.255.255.252 se2/0
ip route 49.76.32.0 255.255.240.0 se2/0
ip route 183.52.0.0 255.252.0.0 se2/0

ip route 69.34.0.0 255.254.0.0 se2/0 5


ip route 10.0.0.0 255.192.0.0 se2/0 5
ip route 87.200.64.0 255.255.240.0 se2/0 5
ip route 170.192.0.0 255.192.0.0 se2/0 5
ip route 188.64.222.252 255.255.255.252 se2/0 5
ip route 49.76.32.0 255.255.240.0 se2/0 5
ip route 183.52.0.0 255.252.0.0 se2/0 5

end
wr

------------------------------ Switch1-Servidores
enable
config t

no ip dhcp snooping information option

ip dhcp snooping

int gig8/1
ip dhcp snooping trust
no shut

int gig9/1
ip dhcp snooping trust
no shut

end
write

----MUESTRA SWITCHES
enable
show ip dhcp snooping

------------------------------ Switches-Tipo1
enable
config t

no ip dhcp snooping information option

ip dhcp snooping

int gig0/1
ip dhcp snooping trust
no shut
end
write

----MUESTRA SWITCHES
enable
show ip dhcp snooping

Comandos nuevos:

//Comentar
! se utiliza para decir que la línea es un comentario, no lo toma como comando
//Puertos de router con reloj, cable serial
enable
config t
int sX/XX
ip add 128.128.0.0 255.255.255.0
not shut
clock rate 640000
end
write

XXXXXX NO HACERLO EN TODO EXAMEN 2 CON ENRUTAMIENTO ESTÁTICO XXXXXXX


//Ruta estática redundante o de respaldo (se le realiza a todas las mismas rutas)
enable
config t
ip route 128.128.0.x 255.255.255.0 gigX/X //Al no darle prioridad se selecciona un
1
ip route 128.128.1.x 255.255.255.0 gigX/X
ip route 128.128.2.x 255.255.255.0 gigX/X
ip route 128.128.3.x 255.255.255.0 gigX/X
ip route 128.128.4.x 255.255.255.0 gigX/X

ip route 128.128.0.x 255.255.255.0 sX/X 5 //Este 5 es la prioridad (Desde 2 hasta


90)
ip route 128.128.1.x 255.255.255.0 sX/X 5 //Este 5 es la prioridad
ip route 128.128.2.x 255.255.255.0 sX/X 5 //Este 5 es la prioridad
ip route 128.128.3.x 255.255.255.0 sX/X 5 //Este 5 es la prioridad
ip route 128.128.4.x 255.255.255.0 sX/X 5 //Este 5 es la prioridad

end
write

//VER CARGA DEL ROUTER


show processes

//Enrutamiento dinámico
enable
config t
route rip
version 2 //En caso de que las redes de un router tengan diferentes
máscaras

network 128.128.0.0 //Clase superior para cada uno de los enlaces en examen
//No se agrega not shutdown
end
write

//Para brindar DHCP a los routers que podrían dirigir internet a clusters
//POCO PROBABLE DE QUE SE UTILICE EN EL EXAMEN enrutamiento estático
enable
config t

Agregar difault router

end
write

You might also like