Introduction: How to Give a Static IP to Devices in CISCO PACKET TRACER

About: Electronic Engineer, please visit our web site http://www.sparkgt.org

This is simple example to give an IP address to the devices in CISCO PACKET TRACER. Thanks for reading this!

I use 2 language for this instructable, the english and the spanish.

Step 1:

Step 1: First we will place a router, two switches and two laptops for demonstrative purposes.

Paso 1: De primero colocaremos un router, dos switch y dos laptops con el fin demostrativo.

Step 2:

Step 2: Then we will connect them using straight cable because they are different layer devices. It does not matter much the port in which the devices connect but must be Ethernet.

Paso 2: Luego los conectaremos utilizando cable recto debido a que son dispositivos de diferente capa. No importa mucho el puerto en que conecten los dispositivos media vez sea Ethernet.

Step 3:

Step 3: First enter the R1 router, we will configure the IP addresses of the router interfaces in two different ways.

Paso 3: Ingrese de primero al router R1, vamos a configurar de dos formas distintas las direcciones IP de las interfaces del router.

Step 4:

Step 4: The first form is through the config menu, so we are located in the tab where it says FastEthernet0/0.

Paso 4: La primera forma es por medio del menú config, para ello nos situatemos en la pestaña donde diga FastEthernet0/0.

Step 5:

Step 5: Click on the On box, which is located in the upper right corner to turn on the interface, then proceed to place an IP address (for example we will use the address 10.0.0.1) and place in the Subnet Mask 255.255. 255.0 to be an address that allows a maximum of 254 users (/ 24).

Paso 5: Daremos click al recuadro On, el cual se ubica en la esquina superior derecha para encender la interfaz, luego procederemos a colocarle una dirección IP (por vía de ejemplo usaremos la dirección 10.0.0.1) y colocaremos en la Subnet Mask 255.255.255.0 para que sea una dirección que permita 254 usuarios como máximo (/24).

Step 6:

Step 6: The second way to enter a static IP address is through CLI, this is the most efficient way to program the computers in CISCO PACKET TRACER because it is the most accurate way of working in real equipment.

To do this, enter the global user mode and place the following commands:

Interface fastethernet 0/0

Ip address 10.0.0.1 255.255.255.0

No shutdown

With the command "Interface fastethernet 0/0" we enter the interface Fa 0/0 of our router, giving us access to be able to configure it. The "Ip address" command allows us to configure an IP address to the interface and a Subnet Mask Followed by "10.0.0.1 255.255.255.0" which is the IP address and the Subnet Mask.

Paso 6: La segunda forma de ingresar una dirección IP estática es por medio de CLI, esta es la forma más eficiente de programar los equipos en CISCO PACKET TRACER debido a que es la manera más acertada de cómo se trabaja en equipo real. Para ello se ingresará en el modo de usuario global y colocaremos los siguientes comandos:

Interface fastethernet 0/0

Ip address 10.0.0.1 255.255.255.0

No shutdown

Con el comando “Interface fastethernet 0/0” ingresamos a la interfaz Fa 0/0 de nuestro router dándonos acceso a poder configurarla. El comando “Ip address” nos permite configurar una dirección IP a la interfaz y una Subnet Mask Seguido de “10.0.0.1 255.255.255.0” que es la dirección IP y la Subnet Mask.

Step 7:

Step 7: We will configure the second terminal of the Router using the second form for convenience. It should be mentioned that this must be in a network completely different from the network of the first interface, it is also advisable to save the configuration after enabling the interfaces, for this we will use the "do write memory" command in the global configuration.

Paso 7: Configuraremos la segunda terminal del Router usando por facilidad la segunda forma. Cabe mencionar que esta tiene que estar en una red completamente distinta a la red de la primera interfaz, además es recomendable guardar la configuración después de habilitar las interfaces, para ello utilizaremos el comando “do write memory” en la configuración global.

Step 8:

Step 8: Now we will have enabled the two interfaces of the router, but the laptops will not have communication because we have not added them to a network, for them we proceed to enter the laptops to manually configure the IP address.

Paso 8: Ahora tendremos habilitadas las dos interfaces del router, pero las laptops no tendrán comunicación debido a que no las hemos agregado a una red, para ellos procedemos a ingresar a las laptops para configurar manualmente la dirección IP.

Step 9:

Step 9: Enter the Desktop menu.

Paso 9: Entraremos al menú de Desktop.

Step 10:

Step 10: Enter the IP Configuration menu.

Paso 10: Entraremos al menú de IP Configuration.

Step 11:

Step 11: We must verify that the Static option is selected, then proceed to enter the IP address, Subnet Mask and Default Gateway. We can optionally add a DNS address but for demonstrative reasons we will ignore this section. It should be noted that the Default Gateway must be identical to the address of the Router interface and that the IP address and Subnet Mask must match.

Paso 11: Debemos de verificar de que este seleccionada la opción de Static, luego procedemos a ingresar la dirección IP, Subnet Mask y el Default Gateway. Podremos colocar opcionalmente una dirección DNS pero por motivos demostrativos obviaremos este apartado. Cabe mencionar de que el Default Gateway debe de ser idéntica a la dirección de la interfaz del Router y que debe de tener concordancia la dirección IP y la Subnet Mask.

Step 12:

Step 12: Now we can close this window and configure the other laptop in the same way.

Paso 12: Ahora podemos cerrar esta ventana y configurar la otra laptop de la misma manera.

Step 13:

Step 13: Now we must check the connectivity, for this we will ping from one laptop to the other. To ping we must enter a laptop, enter the Desktop menu and select the option of Command Prompt.

Paso 13: Ahora debemos de comprobar la conectividad, para ello haremos ping de una laptop hacia la otra. Para hacer ping debemos ingresar a una laptop, entrar al menú Desktop y seleccionar la opción de Command Prompt.

Step 14:

Step 14: We will write the command "ping 10.0.1.2" (this must be done on the laptop with IP address 10.0.0.2) and we must receive 4 connectivity messages. It is worth mentioning that if we did not receive the 4 complete messages at first, it sometimes takes a while for the computers to adopt the configuration, so it is advisable to retype the command.

Paso 14: escribiremos el comando “ping 10.0.1.2” (esto se debe de realizar en la laptop con dirección IP 10.0.0.2) y debemos de recibir 4 comprobantes de conectividad. Cabe mencionar que si al principio no recibimos los 4 mensajes completos es porque a veces tarda un poco los equipos en adoptar la configuración, para ello es recomendable volver a escribir el comando.

Makerspace Contest 2017

Participated in the
Makerspace Contest 2017

First Time Author Contest

Participated in the
First Time Author Contest