Escenario
de práctica CCNA4
Fecha 13/8/2011 Resultados del escenario resuelto por
Daniel Zulián
Este es un escenario sencillo, que abarca varios de los temas dados en el transcurso del semestre y algún otro
tema de Exploration 2, la idea fue resolverlo en
forma individual, en menos de una hora sin ayuda de compañeros.
Configuraciones:
!
hostname Gateway
!
ip dhcp excluded-address
10.0.0.1
!
ip dhcp pool DHCP
network 10.0.0.0 255.255.240.0
default-router 10.0.0.1
!
username Backup password 0
cisco123 (OK)
!
interface FastEthernet0/0
ip address 10.0.0.1 255.255.240.0
!
interface Serial0/0/0
bandwidth 2048 (OK)
ip address 172.16.0.1 255.255.255.252
clock rate 64000
!
interface Serial0/0/1
bandwidth 512 (OK)
ip address 172.16.0.5 255.255.255.252
encapsulation ppp (OK)
ppp authentication chap (OK)
clock rate 64000
!
router eigrp 100
passive-interface FastEthernet0/0 (OK)
network 10.0.0.0 0.0.15.255 (OK)
network 172.16.0.0 0.0.0.3
network 172.16.0.4 0.0.0.3
no auto-summary (OK)
!
end
!
hostname Principal
!
username Gateway password
0 cisco123 (no es necesario)
username ISP password 0
cisco123 (no es necesario)
!
interface Serial0/0/0
bandwidth 2048 (OK)
ip address 172.16.0.2 255.255.255.252
!
interface Serial0/0/1
bandwidth 1048 (suponemos error de
tipeo: 2048)
ip address 10.0.16.1 255.255.255.252
clock rate 64000
!
router eigrp 100
network 10.0.16.0 0.0.0.3
network 172.16.0.0 0.0.0.3
no auto-summary (OK)
!
end
!
hostname Backup
!
username Gateway password
0 cisco123
username ISP password 0
cisco123
!
interface Serial0/0/0
bandwidth 512 (OK)
ip address 10.0.16.5 255.255.255.252
encapsulation ppp (OK)
ppp authentication chap (OK)
clock rate 64000
!
interface Serial0/0/1 (faltó el band 512)
ip address 172.16.0.6 255.255.255.252
encapsulation ppp (OK)
ppp authentication chap (OK)
!
router eigrp 100
network 172.16.0.4 0.0.0.3
network 10.0.16.4 0.0.0.3
no auto-summary (OK)
!
end
!
hostname ISP
!
username Backup password 0
cisco123 (OK)
!
interface Serial0/0/0
bandwidth 512 (OK)
ip address 10.0.16.6 255.255.255.252
encapsulation ppp (OK)
ppp authentication chap (OK)
ip nat inside (OK)
!
interface Serial0/0/1
bandwidth 2048 (OK)
ip address 10.0.16.2 255.255.255.252
ip nat inside (OK)
!
interface Serial0/1/0
ip address 190.0.0.1 255.255.255.252
encapsulation frame-relay (OK)
frame-relay map ip 190.0.0.2 100 (agregado/sugerido
por instructor)
frame-relay map ip 200.0.0.1 100(agregado/sugerido
por instructor)
ip nat outside (OK)
!
router eigrp 100
redistribute static (OK)
passive-interface Serial0/1/0 (OK)
network 10.0.16.0 0.0.0.3
network 10.0.16.4 0.0.0.3
no auto-summary (OK)
!
ip nat inside source list
1 interface Serial0/1/0 overload (OK)
!
ip route 200.0.0.0
255.255.255.252 Serial0/1/0 (OK)
!
access-list 1 permit
10.0.0.0 0.0.15.255 (OK)
!
end
!
hostname Hosting
!
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.0
ip nat inside (OK)
!
interface Serial0/0/0
ip address 190.0.0.2 255.255.255.252
encapsulation frame-relay (OK)
frame-relay map ip 190.0.0.1 200 (agregado/sugerido
por instructor)
ip nat outside (OK)
!
ip nat inside source
static 192.168.0.10 200.0.0.1 (OK)
!
ip route 0.0.0.0 0.0.0.0
Serial0/0/0 (OK)
!
end
Hosting#sh ip nat
translations
Pro Inside global Inside local
Outside local Outside global
--- 200.0.0.1 192.168.0.10
--- ---
tcp 200.0.0.1:80 192.168.0.10:80
190.0.0.1:1025 190.0.0.1:1025
Hosting#
ISP#sh ip nat
translations
Pro Inside global Inside local
Outside local Outside global
tcp 190.0.0.1:1025 10.0.0.2:1025 200.0.0.1:80
200.0.0.1:80
ISP#sh ip route
10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
C 10.0.16.0/30 is directly connected,
Serial0/0/1
C 10.0.16.4/30 is directly connected,
Serial0/0/0
C 10.0.16.5/32 is directly connected,
Serial0/0/0
172.16.0.0/30 is subnetted, 2 subnets
D 172.16.0.0 [90/2273792] via 10.0.16.1,
00:14:20, Serial0/0/1
D 172.16.0.4 [90/6023936] via 10.0.16.5,
00:14:22, Serial0/0/0
190.0.0.0/30 is subnetted, 1 subnets
C 190.0.0.0 is directly connected,
Serial0/1/0
200.0.0.0/30 is subnetted, 1 subnets
S 200.0.0.0 is directly connected,
Serial0/1/0
ISP#
ISP#sh frame-relay map
Serial0/1/0 (up): ip
190.0.0.2 dlci 100, static, CISCO, status defined, active
Serial0/1/0 (up): ip
200.0.0.1 dlci 100, static, CISCO, status defined, active
ISP#
Hosting#sh frame-relay
map
Serial0/0/0 (up): ip
190.0.0.1 dlci 200, static, CISCO, status defined, active
Hosting#
PC>tracert 200.0.0.1
Tracing route to 200.0.0.1
over a maximum of 30 hops:
1 32 ms 31 ms
15 ms 10.0.0.1 (router Gateway)
2 62 ms 63 ms
63 ms 172.16.0.2 (router Pricipal)
3 94 ms 94 ms
94 ms 10.0.16.2 (router ISP)
4 156 ms 125 ms
143 ms 200.0.0.1 (router con static NAT)
5 187 ms 188 ms
188 ms 200.0.0.1 (host detrás del NAT )
Trace complete.
Vínculo principal down:
ISP#
%LINK-5-CHANGED: Interface
Serial0/0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line
protocol on Interface Serial0/0/1, changed state to down
%DUAL-5-NBRCHANGE:
IP-EIGRP 100: Neighbor 10.0.16.1 (Serial0/0/1) is down: interface down
ISP#
ISP#sh ip route
Gateway of last resort is
not set
10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
C 10.0.16.4/30 is directly connected,
Serial0/0/0
C 10.0.16.5/32 is directly connected,
Serial0/0/0
172.16.0.0/30 is subnetted, 1 subnets
D 172.16.0.4 [90/6023936] via 10.0.16.5,
00:16:56, Serial0/0/0
190.0.0.0/30 is subnetted, 1 subnets
C 190.0.0.0 is directly connected,
Serial0/1/0
200.0.0.0/30 is subnetted, 1 subnets
S 200.0.0.0 is directly connected, Serial0/1/0
ISP#
PC>tracert 200.0.0.1
Tracing route to 200.0.0.1
over a maximum of 30 hops:
1 31 ms 31 ms
32 ms 10.0.0.1
2 47 ms 47 ms
62 ms 172.16.0.6 (router Backup)
3 94 ms 93 ms
81 ms 10.0.16.6
4 141 ms 156 ms
140 ms 200.0.0.1
5 187 ms 187 ms
187 ms 200.0.0.1
Trace complete.
SERVER>netstat
Active Connections
Proto Local Address Foreign Address State
TCP
192.168.0.10:80
190.0.0.1:1026 CLOSED
SERVER>
Solución original (por Daniel Zulián)
Nota del insructor: recalco en buscar los
significados de proactivo
o expeditivo,
siendo esta la calificación que le
aplico a esta solución para descartar puntos de fallas, o verificar el funcionamiento de los sectores ya resueltos.
No es sólo una prueba con un link mas sencillo, verificando el funcionamiento de extremo a extremo, sino realizando
una contraprueba para verificar la reincidencia de la falla. Es generalmente, el método que yo utilizo.
ISP#sh int s0/1/0
Serial0/1/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 190.0.0.1/30
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10
sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
(2011) Definitely talk about networking not attract pretty girls
Rosario, Argentina