Configuración de proyecto con nat

Realizamos la configuración de la nube o cloud
Le configuramos para que se conecte por medio de la conexión de área local

129 255. R1(config)#int gi 3/0 R1(config-if)#ip add dhcp R1(config-if)#exit R1(config-if)#no shutdown R1(config-if)# *Mar 11 15:48:03.047: %LINK-3-UPDOWN: Interface GigabitEthernet3/0.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet3/0. changed state to up R1(config-if)# Ingresamos a la interfaz GI 1/0 y 2/0 y configuramos sus respectivas direcciones con mascara de red R1(config)#int gi 1/0 R1(config-if)#ip add 172.075: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0.252 R1(config-if)#no shut R1(config-if)# *Mar 11 15:50:10.047: %ENTITY_ALARM-6-INFO: CLEAR INFO Gi3/0 Physical Port Administrative State Down *Mar 11 15:48:04.10. changed state to up R1(config-if)# *Mar 11 15:50:10.Iniciamos los router y realizamos la conexión al router 1 por medio de la interfaz GI 3/0 le asignamos la dirección ip por dhcp para que tome la del proveedor ISP y subimos la interfaz R1#conf ter Enter configuration commands. changed state to up R1(config-if)# *Mar 11 15:48:03. changed state to up R1(config-if)# R1(config)#int gi 2/0 .075: %ENTITY_ALARM-6-INFO: CLEAR INFO Gi1/0 Physical Port Administrative State Down *Mar 11 15:50:11.255. End with CNTL/Z.16.255. one per line.075: %LINK-3-UPDOWN: Interface GigabitEthernet1/0.

7 YES DHCP up up GigabitEthernet4/0 unassigned YES unset administratively down down GigabitEthernet5/0 unassigned YES unset administratively down down GigabitEthernet6/0 unassigned YES unset administratively down down Le asignamos el nombre al router con el comando hostname R1(config)#hostname RT1 RT1(config)# Ingresamos en el modo de configuración del router 2 Ingresamos a la interfaz GI 1/0 y 2/0 y configuramos sus respectivas direcciones con mascara de red R2(config)#int gi 1/0 R2(config-if)#ip add 172.255.16.255.R1(config-if)#ip add 172.0.119: %LINK-3-UPDOWN: Interface GigabitEthernet2/0.252 R1(config-if)#no shut R1(config-if)#no shutdown R1(config-if)# *Mar 11 15:51:47.129 YES manual up up GigabitEthernet2/0 172.119: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0.16.168.133 YES manual up up GigabitEthernet3/0 192.119: %ENTITY_ALARM-6-INFO: CLEAR INFO Gi2/0 Physical Port Administrative State Down *Mar 11 15:51:48.16. changed state to up R1(config-if)# Verificamos con el comando show ip interface brief que estén arriba y con su respectiva ip y mascara R1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES unset administratively down down GigabitEthernet1/0 172.16.133 255.10.130 255.252 R2(config-if)#no shut . changed state to up R1(config-if)# *Mar 11 15:51:47.10.255.10.10.255.

130 YES manual up up GigabitEthernet2/0 172. changed state to up R2(config-if)# *Mar 11 16:02:36. changed state to up R2(config-if)#exit R2(config)#hostname RT2 RT2(config)# Ingresamos en el modo de configuración del router 2 Ingresamos a la interfaz GI 1/0 y 2/0 y configuramos sus respectivas direcciones con mascara de red Verificamos con el comando show ip interface brief que estén arriba y con su respectiva ip y mascara.10.255. RT2#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES unset administratively down down GigabitEthernet1/0 172.047: %ENTITY_ALARM-6-INFO: CLEAR INFO Gi2/0 Physical Port Administrative State Down *Mar 11 16:02:37.16.10.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0.047: %LINK-3-UPDOWN: Interface GigabitEthernet2/0.10.255.192 R2(config-if)#no shut R2(config-if)# *Mar 11 16:02:36.16.1 255.R2(config-if)#exit R2(config)#int gi 2/0 R2(config-if)#ip add 172.16.1 YES manual up up GigabitEthernet3/0 unassigned YES unset administratively down down GigabitEthernet4/0 unassigned YES unset administratively down down GigabitEthernet5/0 unassigned YES unset administratively down down GigabitEthernet6/0 unassigned YES unset administratively down down RT2# Ingresamos en el modo de configuración del router 3 .

R3(config)#hostname RT3 RT3(config)#int gi 1/0 RT3(config-if)#ip add 172. changed state to up RT3(config-if)# *Mar 11 16:11:23.347: %LINK-3-UPDOWN: Interface GigabitEthernet1/0.192 RT3(config-if)#no shut RT3(config-if)# *Mar 11 16:11:23.255.879: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0.10.347: %ENTITY_ALARM-6-INFO: CLEAR INFO Gi1/0 Physical Port Administrative State Down *Mar 11 16:08:04. changed state to up RT3(config-if)# .16.255.347: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0. changed state to up RT3(config-if)#exit RT3(config)#int gi 2/0 RT3(config-if)#ip add 172.879: %ENTITY_ALARM-6-INFO: CLEAR INFO Gi2/0 Physical Port Administrative State Down *Mar 11 16:11:24.65 255. one per line.10.255.16. End with CNTL/Z.252 RT3(config-if)#no shut RT3(config-if)# *Mar 11 16:08:03.255.Ingresamos a la interfaz GI 1/0 y 2/0 y configuramos sus respectivas direcciones con mascara de red R3#conf ter Enter configuration commands.134 255. changed state to up RT3(config-if)# *Mar 11 16:08:03.879: %LINK-3-UPDOWN: Interface GigabitEthernet2/0.

0. Network Type BROADCAST. Router ID 192. line protocol is up Internet Address 172.132 0.16.133 No backup designated router on this network .128 0.0.0.133/30.0. State DR.10.16. RT1(config-router)#network 172.10. RT1#show ip ospf interface GigabitEthernet2/0 is up. RT3#show ip interf RT3#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES unset administratively down down GigabitEthernet1/0 172.16.10.16.128 0.0.7.134 YES manual up up GigabitEthernet2/0 172.10.0.10.10.0.3 % Incomplete command.3 area 0 RT1(config-router)#network 172.Verificamos con el comando show ip interface brief que estén arriba y con su respectiva ip y mascara.10.3 area 0 RT1(config-router)#exit RT1(config)# Verificamos la configuracion de ospf.168. Area 0 Process ID 100.168.16.16.7.16.0. Cost: 1 Transmit Delay is 1 sec. Priority 1 Designated Router (ID) 192. Interface address 172.65 YES manual up up GigabitEthernet3/0 unassigned YES unset administratively down down GigabitEthernet4/0 unassigned YES unset administratively down down GigabitEthernet5/0 unassigned YES unset administratively down down GigabitEthernet6/0 unassigned YES unset administratively down down RT3# REALIZAMOS LA CONFIGURACION DE OSPF EN TODOS LOS ROUTERS RT1(config)#router ospf 100 RT1(config-router)#network 172.

168. Timer intervals configured. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 0.129/30. Wait 40.0.7. Hello 10. Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) GigabitEthernet1/0 is up. line protocol is up Internet Address 172. Cost: 1 Transmit Delay is 1 sec.7.16. maximum is 0 Last flood scan time is 0 msec. maximum is 0 Last flood scan time is 0 msec. Retransmit 5 oob-resync timeout 40 Hello due in 00:00:01 Supports Link-local Signaling (LLS) Index 1/1. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 0. Router ID 192. Wait 40. Priority 1 Designated Router (ID) 192. Interface address 172. maximum is 0 msec Neighbor Count is 0. Retransmit 5 oob-resync timeout 40 Hello due in 00:00:02 Supports Link-local Signaling (LLS) Index 2/2. Area 0 Process ID 100.16. Dead 40.129 No backup designated router on this network Timer intervals configured.10. State DR. Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) RT1# Realizamos la configuración ospf en el router 2 RT2#conf ter . Hello 10. Dead 40.168. Network Type BROADCAST.10. maximum is 0 msec Neighbor Count is 0.0.

168.0.16.0. Cost: 1 Transmit Delay is 1 sec. Router ID 172.10. Nbr 192.7 on GigabitEthernet1/0 from LOADING to FULL.168.168.0.7 on GigabitEthernet1/0 from LOADING to FULL.0 0. State BDR.128 0.0. Loading Done RT2(config-router)# Verificamos la configuracion ospf RT2#show ip ospf interf RT2#show ip ospf interface GigabitEthernet1/0 is up. End with CNTL/Z.0.Enter configuration commands. Dead 40. maximum is 1 Last flood scan time is 0 msec. Area 0 Process ID 100.16. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1. line protocol is up Internet Address 172. RT2(config)#router ospf 100 RT2(config-router)#network 172. Priority 1 Designated Router (ID) 192.129 Backup Designated router (ID) 172.168.16. Network Type BROADCAST. Nbr 192.63 area 0 *Mar 11 16:23:11.10.130.10.16.10.7 (Designated Router) . Retransmit 5 oob-resync timeout 40 Hello due in 00:00:08 Supports Link-local Signaling (LLS) Index 2/2.130/30.0. one per line.0. Interface address 172.10.3 area 0 RT2(config-router)# *Mar 11 16:24:09. Hello 10.0. Loading Done RT2(config-router)# network 172.16.7. maximum is 0 msec Neighbor Count is 1.16.16.819: %OSPF-5-ADJCHG: Process 100. Interface address 172.130 Timer intervals configured. Wait 40.10. Adjacent neighbor count is 1 Adjacent with neighbor 192.10.559: %OSPF-5-ADJCHG: Process 100.130.

maximum is 0 Last flood scan time is 0 msec.0. Loading Done RT3(config-router)#exit .3 area 0 RT3(config-router)# *Mar 11 16:35:41. maximum is 0 msec Neighbor Count is 0. Wait 40.0.10. Router ID 172. Network Type BROADCAST.10.16.16. Cost: 1 Transmit Delay is 1 sec.130. RT3(config)#router ospf 100 RT3(config-router)#network 172.16.64 0.10.0.63 area 0 RT3(config-router)#network 172.16. Suppress hello for 0 neighbor(s) GigabitEthernet2/0 is up.16.10. Retransmit 5 oob-resync timeout 40 Hello due in 00:00:01 Supports Link-local Signaling (LLS) Index 1/1. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 0. Dead 40.7 on GigabitEthernet1/0 from LOADING to FULL. one per line. State DR.130.1/26. Hello 10. line protocol is up Internet Address 172.10.023: %OSPF-5-ADJCHG: Process 100.0. Nbr 192.168. Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) RT2# Realizamos la configuración ospf en el router 3 RT3#conf ter Enter configuration commands. Priority 1 Designated Router (ID) 172.132 0.1 No backup designated router on this network Timer intervals configured. End with CNTL/Z. Area 0 Process ID 100.10.16.0. Interface address 172.

134. Interface address 172. Hello 10.133 Backup Designated router (ID) 172. maximum is 0 msec Neighbor Count is 1.16.0.16.043: %SYS-5-CONFIG_I: Configured from console by console Verificamos la configuracion ospf RT3#show ip ospf int RT3#show ip ospf interface GigabitEthernet1/0 is up. State BDR.0.16.16.7 (Designated Router) Suppress hello for 0 neighbor(s) GigabitEthernet2/0 is up.134 Timer intervals configured. line protocol is up Internet Address 172.7.168. Area 0 Process ID 100. Cost: 1 Transmit Delay is 1 sec. Cost: 1 .65/26. Priority 1 Designated Router (ID) 192.10.RT3(config)#exit RT3#s *Mar 11 16:35:52.10.134. Router ID 172.134. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1. line protocol is up Internet Address 172. Network Type BROADCAST. Adjacent neighbor count is 1 Adjacent with neighbor 192. maximum is 1 Last flood scan time is 0 msec.10.16. Retransmit 5 oob-resync timeout 40 Hello due in 00:00:03 Supports Link-local Signaling (LLS) Index 2/2.16.10. Wait 40. Area 0 Process ID 100.10.10. Interface address 172.10. Network Type BROADCAST.134/30.168. Router ID 172.16. Dead 40.

Dead 40. maximum is 0 Last flood scan time is 0 msec. Retransmit 5 oob-resync timeout 40 Hello due in 00:00:07 Supports Link-local Signaling (LLS) Index 1/1.134. round-trip min/avg/max = 16/51/80 ms RT3# RT1#ping 172.16.10.16. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).1 Type escape sequence to abort. Interface address 172.65 No backup designated router on this network Timer intervals configured. Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) RT3# Verificamos comunicación entre los router RT3#ping 172. maximum is 0 msec Neighbor Count is 0. Sending 5. 100-byte ICMP Echos to 172.10.10.16. Sending 5. flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 0.16.10.1.65 Type escape sequence to abort.65.16.16. Hello 10. 100-byte ICMP Echos to 172.10. timeout is 2 seconds: . Priority 1 Designated Router (ID) 172. Wait 40. State DR.10. Transmit Delay is 1 sec.

10.!!!!! Success rate is 100 percent (5/5).16. round-trip min/avg/max = 4/24/48 ms RT1#ping 172.16.10. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).168.10. 100-byte ICMP Echos to 172. round-trip min/avg/max = 1/3/4 ms RT1# Success rate is 0 percent (0/5) RT2#ping 172. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).10. round-trip min/avg/max = 20/23/36 ms RT1# RT1#ping 192.16.1 Type escape sequence to abort.65 Sending 5.16. Sending 5.7. round-trip min/avg/max = 32/39/44 ms RT2# Verificamos el estado de las interfaces en el router 1 RT1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES unset administratively down down .7 Type escape sequence to abort. 100-byte ICMP Echos to 172.0.0.65. 100-byte ICMP Echos to 192. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).168.1. Sending 5.

10.10.132 0.0.133 YES manual up up GigabitEthernet3/0 192.16.64 0.0.GigabitEthernet1/0 172.10.3 RT1(config-std-nacl)#exit RT1(config)#int gi 3/0 RT1(config-if)#ip nat outside RT1(config-if)#exit .0.128 0.403: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0. End with CNTL/Z.10.0.16.0.129 YES manual up up GigabitEthernet2/0 172.7 YES DHCP up up GigabitEthernet4/0 unassigned YES unset administratively down down GigabitEthernet5/0 unassigned YES unset administratively down down GigabitEthernet6/0 unassigned YES unset administratively down down RT1# Configuracion de NAT RT1#conf ter RT1#conf terminal Enter configuration commands.10.0.3 RT1(config-std-nacl)#permit 172.16.0. changed state to up RT1(config)#ip access-list standar NAT RT1(config-std-nacl)#permit 172.63 RT1(config-std-nacl)#permit 172.168.10.63 RT1(config-std-nacl)#permit 172.16. RT1(config)#ip nat inside sourc RT1(config)#ip nat inside source li RT1(config)#ip nat inside source list NAT interface gi 3/0 over RT1(config)#ip nat inside source list NAT interface gi 3/0 overload RT1(config)# *Mar 11 16:59:02.0.0 0.0.16. one per line.16.

google.58.0 0.com".google.0.168.RT1(config)#int gi 1/0 RT1(config-if)#ip nat inside RT1(config-if)#exit RT1(config)#int gi 2/0 RT1(config-if)#ip nat inside RT1(config-if)#exit RT1(config)#ip name-server 8.75.com" .0.8.8 RT1(config)#ip route 0.domain server (200. Sending 5.com Translating "www.com Translating "www.0. 100-byte ICMP Echos to 216. round-trip min/avg/max = 72/86/92 ms RT1# Verificamos le router 2 con conexion a internet RT2#ping www.8.132) [OK] Type escape sequence to abort.!!!! Success rate is 80 percent (4/5).0.google. timeout is 2 seconds: .0.1 RT1(config)#ip domain-lookup RT1(config)#router ospf 100 RT1(config-router)#default-in RT1(config-router)#default-information originate RT1(config-router)#exit RT1(config)#exit RT1#ping www.219.0 192.68...google.51.

google. Sending 5.com" % Unrecognized host or address. 100-byte ICMP Echos to 216.google.% Unrecognized host or address.8 RT2(config)#ip domain-loo RT2(config)#ip domain-lookup RT2(config)# RT2#ping www. or protocol not running. End with CNTL/Z.com Translating "www.8. RT2#conf ter RT2#conf terminal Enter configuration commands.164.gogle... round-trip min/avg/max = 92/110/120 ms RT2# Verificamos en el router 3 RT3#ping www. RT3#conf ter .gogle.219. or protocol not running.8.58.domain server (8.8.com Translating "www. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).8) [OK] Type escape sequence to abort.8.com". RT2(config)#ip name RT2(config)#ip name-server 8. one per line.

com Translating "www.192.8. RT3(config)#ip name-server 8.. End with CNTL/Z.. 100-byte ICMP Echos to 216. Sending 5.Enter configuration commands..google.8.google.8 RT3(config)#ip domain-loo RT3(config)#ip domain-lookup RT3(config)#do ping www. round-trip min/avg/max = 84/108/128 ms RT3(config)# Guardamos la configuración en todos los routers RT1#copy running-config startup-config Destination filename [startup-config]? Building configuration. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).com". one per line.8.domain server (8.68. [OK] RT2# RT3#copy running-config star .58.8) [OK] Type escape sequence to abort.8. [OK] RT1# RT2#copy running-config startup-config Destination filename [startup-config]? Building configuration....

..RT3#copy running-config startup-config Destination filename [startup-config]? Building configuration. [OK] RT3# INGRESAMOS EN LA TARJETA DE RED DEL PC Y CONFIGURAMOS LA IP CON MASCARA Y GATEWAY PROBAMOS CONECTIVIDAD .

0.8.8 SE ingreso en el modo ROUTER OSPF 100 Y SE INGRESO defaul- information originate SE INGRESO EL COMANDO IP DOMAIN-LOOKUP QUE MEDIDAS SE DEBEN TENER PARA EVITAR QUE VUELVA A OCURRIR HAILITAR CONEXIÓN AL ROUTER 1.0 0.8.0.0.0.2 Y 3 TELNET OSSH GUARDAR EN UN ARCHIVO DE TEXTO LA CONFIGURACION REALIZADA A CADA UNO DE LOS ROUTER SI SE PRESENTA UN INCONVIENTE Y NO CONECTA A LARED SE PUEDE INGRESAR CON SUPER PUTTY A LOS ROUTER CON CONEXIÓN SSH O TELNET Y COPIAR LA INFORMACION PARA QUE EL SERVICIO SE RESTAURE .0 192.168.¿QUE ERRORES HUBO? En la topología faltaba configurar una ruta estatica en el router de salida para que las direcciones que no conociera las enviara por la puerta de enlace del ISP Faltaba configurar el dns Y en ospf faltaba configurar el comando defaul-information originate También faltaba configurar ip domain lookup ¿QUE IMPACTO TUVIERON LOS ERRORES EN LA RED? Las red a pesar de comunicarse internamente no tenía salida a internet QUESE HIZO PARA SOLUCIONARLOS SE CONFIGURO LA SALIDA DE DIRECCION ESTATICA CON EL COMANDO IP ROUTE 0.0.1 Se configuro el dns con el comando IP NAME-SERVER 8.