Como podemos ver, el router en nuestra cabecera de la red, por que el será nuestro encaminado o enrutador. la interfaz que sale para la red LAN desde el router es la FA0/0.
Debemos tener en cuenta que debemos configurar nuestra puerta de enlace o gateway en el router. Para configurar mediante comando el router damos click sobre el mismo y elegimos la pestaña CLI.
Escribimos no y comenzamos.
Router>enable
Router#configure terminal
Router(config)#interfa fastEthernet 0/0 "Interfaz que conecta nuestra red LAN"
Router(config-if)#ip add 192.168.0.1 255.255.255.0 "Dirección IP de nuestro Gateway"
Router(config-if)#no shutdown - "Para levantar conexión en el enlace"
Router(config-if)#end "Para salir de la configuración de la interfaz FA0/0"
Router#
Router(config)#interfa fastEthernet 0/0 "Interfaz que conecta nuestra red LAN"
Router(config-if)#ip add 192.168.0.1 255.255.255.0 "Dirección IP de nuestro Gateway"
Router(config-if)#no shutdown - "Para levantar conexión en el enlace"
Router(config-if)#end "Para salir de la configuración de la interfaz FA0/0"
Router#
Como vemos en la imagen anterior en enlace que una la interfaz FA0/0 de router y el Puerto Fisico FA0/1 del switch están en color verde, esto indica que la conexión ya levanto.
Para verificar la configuración en el router ejecutamos los siguientes comandos:
Router#show interfaces
Nos saldrá lo siguiente:
FastEthernet0/0 is up, line protocol is up (connected)
Router#show interfaces
Nos saldrá lo siguiente:
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 0001.9744.9901 (bia 0001.9744.9901)
Internet address is 192.168.0.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
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 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
FastEthernet0/1 is administratively down, line protocol is down (disabled)
Hardware is Lance, address is 0001.9744.9902 (bia 0001.9744.9902)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
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 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Vlan1 is administratively down, line protocol is down
Hardware is CPU Interface, address is 0001.6491.dead (bia
0001.6491.dead)
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 21:40:21, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); 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
1682 packets input, 530955 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
563859 packets output, 0 bytes, 0 underruns
0 output errors, 23 interface resets
0 output buffer failures, 0 output buffers swapped out
Router#
Internet address is 192.168.0.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
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 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
FastEthernet0/1 is administratively down, line protocol is down (disabled)
Hardware is Lance, address is 0001.9744.9902 (bia 0001.9744.9902)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
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 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Vlan1 is administratively down, line protocol is down
Hardware is CPU Interface, address is 0001.6491.dead (bia
0001.6491.dead)
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 21:40:21, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); 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
1682 packets input, 530955 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
563859 packets output, 0 bytes, 0 underruns
0 output errors, 23 interface resets
0 output buffer failures, 0 output buffers swapped out
Router#
Nos interesa por ahora las tres primeras líneas que nos dice, que en la interfaz FA0/0 configuramos nuestro Gateway.
Ahora tenemos que configurar manual mente las direcciones IPs a nuestras PCs. Para eso damos click sobre una de ellas y nos ubicamos en la pestaña Desktop o Escritorio y entramos en IP Configuracion
Completamos las direcciones y cerramos. De igual manera hacemos lo mismo con la otra PC.
Para todas las PC de nuestra red LAN no debemos olvidar colocar el Gateway del router.
Cerramos y listo, tenemos configurada nuestra red LAN. Ahora vamos a verificar si las PC tienen comunicación entre ellas y el router.
Entramos a la PC0 en la pestaña Desktop o Escritorio y en Command Prompt
Digitamos ping y la IP de la PC1
Ping 192.168.0.3
Como podemos ver tenemos respuestas de la PC1 implica que tenemos conexión.
De igual manera entramos a la PC1 en la pestaña Desktop o Escritorio y en Command Prompt
Digitamos ping y la IP de la PC0
Ping 192.168.0.2
Como podemos ver tenemos respuestas de la PC0 implica que tenemos conexión.De igual manera hacemos esto desde las PCs para ver si tenemos conexión con el router. Y nuestra red estará completamente lista.
0 comentarios :
Publicar un comentario