Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Packet Tracer: Conexión de Un Router A Una LAN

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

Actividad 3

Packet Tracer: Conexión de un router a una LAN


Tabla de asignación de direcciones
Puerta de enlace
Dispositivo Interfaz Dirección IP Máscara de subred predeterminada

R1 G0/0 192.168.10.1 255.255.255.0 N/D

R1
G0/1 192.168.11.1 255.255.255.0 N/D

R1
S0/0/0 (DCE) 209.165.200.225 255.255.255.252 N/D
R2 G0/0 10.1.1.1 255.255.255.0 N/D

R2
G0/1 10.1.2.1 255.255.255.0 N/D

R2
S0/0/0 209.165.200.226 255.255.255.252 N/D
PC1 NIC 192.168.10.10 255.255.255.0 192.168.10.1
PC2 NIC 192.168.11.10 255.255.255.0 192.168.11.1
PC3 NIC 10.1.1.10 255.255.255.0 10.1.1.1
PC4 NIC 10.1.2.10 255.255.255.0 10.1.2.1

Objetivos
Parte 1: Muestre la información del router
Parte 2: Configure las interfaces del router
Parte 3: Verifique la configuración

Aspectos básicos
In this activity, you will use various show commands to display the current state of the router.
You will then use the Addressing Table to configure router Ethernet interfaces. Finally, you will
use commands to verify and test your configurations.
Note: The routers in this activity are partially configured. Some of the configurations are not
covered in this course but they are provided to assist you in using verification commands.

Parte 1: Mostrar información del enrutador


Paso 1: Mostrar información de la interfaz en R1.
Note: Click a device and then click the CLI tab to access the command line directly. La
contraseña de la consola es cisco. La contraseña privilegiada EXEC es class.
Preguntas:

a. Which command displays the statistics for all interfaces configured on a router?
Show interface

R1>enable
Password:
R1#show interface
GigabitEthernet0/0 is administratively down, line protocol is down (disabled)
Hardware is CN Gigabit Ethernet, address is 000d.bd6c.7d01 (bia 000d.bd6c.7d01)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is RJ45
output flow-control is unsupported, input flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 watchdog, 1017 multicast, 0 pause input
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns

b. Which command displays the information about the Serial 0/0/0 interface only?

Show interface serial 0/0/0

R1#show interface serial 0/0/0


Serial0/0/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 209.165.200.225/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
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 149 bits/sec, 0 packets/sec
5 minute output rate 54 bits/sec, 0 packets/sec
511 packets input, 32004 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
168 packets output, 11312 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out

c.     Enter the command to display the statistics for the Serial 0/0/0 interface on R1 and answer
the following questions:
1)    What is the IP address configured on R1?
La dirección IP configurada es 209.165.200.225/30
2)    What is the bandwidth on the Serial 0/0/0 interface?
El ancho de banda es MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
d.     Enter the command to display the statistics for the GigabitEthernet 0/0 interface and answer
the following questions:
1)    What is the IP address on R1?
Inetrface gigabiteternet 0/0
El comando utilizado es Show interfaces gigabitEthernet 0/0
No tiene configurada la IP
2)    What is the MAC address of the GigabitEthernet 0/0 interface?
La dirección MAC es 000d.bd6c.7d01 (bia 000d.bd6c.7d01)
3)    What is the bandwidth (BW) of the GigabitEthernet 0/0 interface?
El ancho de banda en 1 giga bite
MTU 1500 bytes, BW 1000000 Kbit

Step 2: Display a summary list of the interfaces on R1.


Preguntas:

a. Which command displays a brief summary of the current interfaces, interface status, and
the IP addresses assigned to them?

El comando es Show ip interface brief

R1>enable
Password:
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 209.165.200.225 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
FastEthernet0/1/0 unassigned YES unset administratively down down
FastEthernet0/1/1 unassigned YES unset administratively down down
FastEthernet0/1/2 unassigned YES unset administratively down down
FastEthernet0/1/3 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
b.     Enter the command on each router and answer the following questions:
1)    How many serial interfaces are there on R1 and R2?
Tiene dos interfas serial
Serial0/0/0 209.165.200.225 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
R2
Serial0/0/0 209.165.200.226 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
2)    How many Ethernet interfaces are there on R1 and R2?
R1 tiene 2 puertos ethernet giga bit y 4 fas ethernet base 100
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 209.165.200.225 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
FastEthernet0/1/0 unassigned YES unset administratively down down
FastEthernet0/1/1 unassigned YES unset administratively down down
FastEthernet0/1/2 unassigned YES unset administratively down down
FastEthernet0/1/3 unassigned YES unset administratively down down
R2 tiene solo 2 gigabit
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
3)    Are all the Ethernet interfaces on R1 the same? If no, explain the difference(s).
Diferencias entre los puertos de R1 Hay dos interfas gigabit y cuatro interfas base 100 bit
por segundo

Step 3: Display the routing table on R1.


Preguntas:

a. What command displays the contents of the routing table?

El comando que muestra el display es show ip route

b. Enter the command on R1 and answer the following questions:

R2>enable
Password:
R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

209.165.200.0/24 is variably subnetted, 2 subnets, 2 masks


C 209.165.200.224/30 is directly connected, Serial0/0/0
L 209.165.200.226/32 is directly connected, Serial0/0/0

1) How many connected routes are there (uses the C code)?

El código C tiene un solo


C 209.165.200.224/30 is directly connected, Serial0/0/0
2) Which route is listed?

La ruta que tiene es 209.165.200.224/30


3) How does a router handle a packet destined for a network that is not listed in the
routing table?

Preguntar al profesor

Part 2: Configure Router Interfaces


Step 1: Configure the GigabitEthernet 0/0 interface on R1.
a.     Enter the following commands to address and activate the GigabitEthernet 0/0 interface
on R1:
Abrir la ventana de configuración

R1(config)# interface gigabitethernet 0/0


R1(config-if)# ip address 192.168.10.1 255.255.255.0
R1(config-if)# no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0,
changed state to up

R1>enable
Password:
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface gigabitethernet 0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shutdown

R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0,


changed state to up
b.     It is good practice to configure a description for each interface to help document the
network. Configure an interface description that indicates the device to which it is
connected.
R1(config-if)# description LAN connection to S1
Ya se tiene comunicación con el switch S1

c. R1 debería poder hacer ping a PC1.


R1 (config-if) # final
%SYS-5-CONFIG_I: Configured from console by console
R1# ping 192.168.10.10
Se realiza ping al PC PC1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:
.!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/1 ms
Se configura el switch S3
Configuración de Switch S4

Step 2: Configure the remaining Gigabit Ethernet Interfaces on R1 and R2.


a.     Use the information in the Addressing Table to finish the interface configurations
for R1 and R2. For each interface, do the following:
1)    Enter the IP address and activate the interface.
2)    Configure an appropriate description.
b.     Verify interface configurations.
Se realizo ping alos quipos

Step 3: Back up the configurations to NVRAM.


Pregunta:

Save the configuration files on both routers to NVRAM. ¿Qué comando utilizó?
Cerrar la ventana de configuración

Part 3: Verify the Configuration


Step 1: Use verification commands to check your interface configurations.
a. Use the show ip interface brief command on both R1 and R2 to quickly verify that the
interfaces are configured with the correct IP address and are active.

Preguntas:

How many interfaces on R1 and R2 are configured with IP addresses and in the “up” and
“up” state?
R1 Tiene dos gigabit y cuatro fas ethernet base 100 y dos activas ethrernet y una serial
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 192.168.10.1 YES manual up up
GigabitEthernet0/1 192.168.11.1 YES manual up up
Serial0/0/0 209.165.200.225 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
FastEthernet0/1/0 unassigned YES unset administratively down down
FastEthernet0/1/1 unassigned YES unset administratively down down
FastEthernet0/1/2 unassigned YES unset administratively down down
FastEthernet0/1/3 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
R2 tiene solo dos gigabit y dos activas y una serial
R2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.1.1.1 YES manual up up
GigabitEthernet0/1 10.1.2.1 YES manual up up
Serial0/0/0 209.165.200.226 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down

What part of the interface configuration is NOT displayed in the command output?
Las mascaras no las muestra por que no la configuramos en ninguno de los dos solo
muestra las ip y las que están activas
What commands can you use to verify this part of the configuration?

El comando que se puede usar para mirar la configuración es show running-config


Muestra las ip y las mascaras
R1
interface GigabitEthernet0/0
description LAN connection to S3
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
description LAN connection to S4
ip address 10.1.2.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 209.165.200.226 255.255.255.252
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
R2
interface GigabitEthernet0/0
description LAN connection to S3
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
description LAN connection to S4
ip address 10.1.2.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 209.165.200.226 255.255.255.252
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
b.     Use the show ip route command on both R1 and R2 to view the current routing tables and
answer the following questions:
Preguntas:

1) How many connected routes (uses the C code) do you see on each router?

Tenemos tres rutas con código C


R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/24 is subnetted, 2 subnets


O 10.1.1.0/24 [110/65] via 209.165.200.226, 00:31:04, Serial0/0/0
O 10.1.2.0/24 [110/65] via 209.165.200.226, 00:25:29, Serial0/0/0
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, GigabitEthernet0/0
L 192.168.10.1/32 is directly connected, GigabitEthernet0/0
192.168.11.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.11.0/24 is directly connected, GigabitEthernet0/1
L 192.168.11.1/32 is directly connected, GigabitEthernet0/1
209.165.200.0/24 is variably subnetted, 2 subnets, 2 masks
C 209.165.200.224/30 is directly connected, Serial0/0/0
L 209.165.200.225/32 is directly connected, Serial0/0/0

Con R2 tenemos tres con código C


R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks


C 10.1.1.0/24 is directly connected, GigabitEthernet0/0
L 10.1.1.1/32 is directly connected, GigabitEthernet0/0
C 10.1.2.0/24 is directly connected, GigabitEthernet0/1
L 10.1.2.1/32 is directly connected, GigabitEthernet0/1
O 192.168.10.0/24 [110/65] via 209.165.200.225, 00:36:35, Serial0/0/0
O 192.168.11.0/24 [110/65] via 209.165.200.225, 00:36:35, Serial0/0/0
209.165.200.0/24 is variably subnetted, 2 subnets, 2 masks
C 209.165.200.224/30 is directly connected, Serial0/0/0
L 209.165.200.226/32 is directly connected, Serial0/0/0
2) How many OSPF routes (uses the O code) do you see on each router?

Con código O tenemos solo dos en R2 y en R1 tenemos dos tambien


3) If the router knows all the routes in the network, then the number of connected routes
and dynamically learned routes (OSPF) should equal the total number of LANs and
WANs. ¿Cuántas redes LAN y WAN hay en la topología?

Se tienen 4 redes LAN y 1 WAN en la topología de la red


4) Does this number match the number of C and O routes shown in the routing table?

Preguntar al profesor
Note: If your answer is “no”, then you are missing a required configuration. Review the
steps in Part 2.
Step 2: Test end-to-end connectivity across the network.
You should now be able to ping from any PC to any other PC on the network. In addition, you
should be able to ping the active interfaces on the routers. Por ejemplo, las siguientes pruebas
deberían ser exitosas:
·         From the command line on PC1, ping PC4.

Pinging 10.1.2.10 with 32 bytes of data:

Reply from 10.1.2.10: bytes=32 time=5ms TTL=128


Reply from 10.1.2.10: bytes=32 time<1ms TTL=128
Reply from 10.1.2.10: bytes=32 time=1ms TTL=128
Reply from 10.1.2.10: bytes=32 time=4ms TTL=128

Ping statistics for 10.1.2.10:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 5ms, Average = 2ms

C:\>ping 10.1.2.10

Pinging 10.1.2.10 with 32 bytes of data:

Reply from 10.1.2.10: bytes=32 time=2ms TTL=128


Reply from 10.1.2.10: bytes=32 time=4ms TTL=128
Reply from 10.1.2.10: bytes=32 time=3ms TTL=128
Reply from 10.1.2.10: bytes=32 time<1ms TTL=128

Ping statistics for 10.1.2.10:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 4ms, Average = 2ms

·         From the command line on R2, ping PC2.


R2#ping 192.168.11.10

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.11.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms

R2#ping 192.168.11.10

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.11.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/3 ms

Note: For simplicity in this activity, the switches are not configured. Usted no será capaz de
hacer ping a ellos.
Fin del documento

You might also like