0% found this document useful (0 votes)
14 views19 pages

Practica Ospf - Chuleta1

The document provides a step-by-step guide for configuring OSPF on routers using Cisco Packet Tracer. It includes instructions for setting static IP addresses on PCs and routers, enabling interfaces, configuring OSPF routing, and saving the configurations. Additionally, it covers the integration of a DSL modem and server setup within the network topology.

Uploaded by

Henry Reyes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views19 pages

Practica Ospf - Chuleta1

The document provides a step-by-step guide for configuring OSPF on routers using Cisco Packet Tracer. It includes instructions for setting static IP addresses on PCs and routers, enabling interfaces, configuring OSPF routing, and saving the configurations. Additionally, it covers the integration of a DSL modem and server setup within the network topology.

Uploaded by

Henry Reyes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

1

PRACTICA – OSPF (Cisco Packet Tracer) / PASO A PASO

1. En el PC0 se coloca IP estática: 172.20.18.10. Mascara:255.255.255.0. Gateway: 172.20.18.1


2. En el PC1 se coloca IP estática: 172.20.19.10. Mascara:255.255.255.0. Gateway: 172.20.19.1

3. Router0, en IOS Command Line Interface:


3.1 Router>enable
3.2 Router#sh ip int br

3.3 Router#conf t
3.4 Router (config) #int Fast
3.5 Router (config) #int FastEthernet 0/0
3.6 Router (config-if) #ip address 172.20.18.1 255.255.255.0
3.7 Router (config-if) #no shutdown
3.8 Router (config-if) #exit

3.9 Router (config) #int Serial2/0


3.10 Router (config-if) #ip address 192.168.47.1 255.255.255.252
3.11 Router (config-if) #no shutdown

3.12 Router (config-if) #do sh ip int br


2

4 ROUTER1, en IOS Command Line Interface:


4.1 Router>enable
4.2 Router#conf t
4.3 Router (config) #int Fast
4.4 Router (config) #int FastEthernet 0/0
4.5 Router (config-if) #ip address 172.20.19.1 255.255.255.0
4.6 Router (config-if) #no shutdown
4.7 Router (config-if) #exit

4.8 Router (config) #int Serial 2/0


4.9 Router (config-if) #ip address 192.168.47.2 255.255.255.252
4.10 Router (config-if) #no shutdown

4.11 Router (config-if) #do sh ip int br

5 Router0, en IOS Command Line Interface:


5.1 Router (config-if) #exit
5.2 Router (config) #?
5.3 Router (config) #router ?
5.4 Router (config) #router ospf 1
3

5.5 Router (config-router) #?


5.6 Router (config-router) #network 172.20.18.0 0.0.0.255 area 0
5.7 Router (config-router) #network 192.168.47.0 0.0.0.3 area 0

5.8 Router (config-router) #passive-interface ?


5.9 Router (config-router) #passive-interface FastEthernet 0/0

6 ROUTER1, en IOS Command Line Interface:


6.1 Router>enable
6.2 Router#conf t
6.3 Router (config) #router ?
6.4 Router (config) #router ospf 1
6.5 Router (config-router) #network ?
6.6 Router (config-router) #network 172.20.19.0 0.0.0.255 area 0
6.7 Router (config-router) #network 192.168.47.0 0.0.0.3 area 0
4

6.8 Router (config-router) #passive-interface FastEthernet 0/0


6.9 Router (config-router) #end

6.10 Router#show running-config


5

6.11 Router#sh ip ospf

7 ROUTER0.
7.1 Interfaz gráfica: Pestaña "Config" → Serial2/0: Clock Rate, selecciono 9600.

8 ROUTER0, en IOS Command Line Interface:


8.1 Router (config-if) #end
8.2 Router#conf t
8.3 Router (config) #int FastEthernet 1/0
8.4 Router (config-if) #ip address 192.168.47.5 255.255.255.252
8.5 Router (config-if) #no shutdown
6

9 ROUTER1, en IOS Command Line Interface:


9.1 Router (config-if) #end
9.2 Router#conf t
9.3 Router (config) #int FastEthernet 1/0
9.4 Router (config-if) #ip address 192.168.47.9 255.255.255.252
9.5 Router (config-if) #no shutdown

10. Se agrega otro Router2:

11. ROUTER2, en IOS Command Line Interface:


11.1 Router>enable
11.2 Router#conf t
11.3 Router (config) #int Fast
11.4 Router (config) #int FastEthernet 0/0
11.5 Router (config-if) #ip address 192.168.47.6 255.255.255.252
11.6 Router (config-if) #no shutdown
11.7 Router (config-if) #exit
7

11.8 Router (config) #int FastEthernet 1/0


11.9 Router (config-if) #ip address 192.168.47.10 255.255.255.252
11.10 Router (config-if) #no shutdown

12 ROUTER0, en IOS Command Line Interface:


12.1 Router (config-if) #end
12.2 Router#conf t
12.3 Router (config) #do sh ip route
8

13 ROUTER1, en IOS Command Line Interface:


13.1 Router>enable
13.2 Router#conf t
13.3 Router (config) #do sh ip route

14 ROUTER2, en IOS Command Line Interface:


14.1 Router>enable
14.2 Router#conf t
14.3 Router (config) #?
14.4 Router (config) #route ospf 1
14.5 Router (config-router) #network ?
14.6 Router (config-router) #network 192.168.47.4 0.0.0.3 area 0
14.7 Router (config-router) #network 192.168.47.8 0.0.0.3 area 0
14.8 Router (config-router) #end
9

15 ROUTER0, en IOS Command Line Interface:


15.1 Router>enable
15.2 Router#conf t
15.3 Router (config) #end
15.4 Router#copy running-config startup-config

16 ROUTER1, en IOS Command Line Interface:


16.1 Router>enable
16.2 Router#copy running-config startup-config

17 ROUTER2, en IOS Command Line Interface:


17.1 Router>enable
17.2 Router#copy running-config startup-config

18 ROUTER0, en IOS Command Line Interface:


18.1 Router>enable
18.2 Router#conf t
18.3 Router (config) #route ospf 1
18.4 Router (config-router) #network 192.168.47.4 0.0.0.3 area 0

19 ROUTER1, en IOS Command Line Interface:


19.1 Router>enable
19.2 Router#conf t
19.3 Router (config) #route ospf 1
19.4 Router (config-router) #network 192.168.47.8 0.0.0.3 area 0
10

20 ROUTER0, en IOS Command Line Interface:


20.1 Router (config-router) #end
20.2 Router#copy running-config startup-config

21 ROUTER1, en IOS Command Line Interface:


21.1 Router (config-router) #end
21.2 Router#copy running-config startup-config

22 ROUTER0, en IOS Command Line Interface:


22.1 Router#sh ip route

23 ROUTER1, en IOS Command Line Interface:


23.1 Router#sh ip route
11

24 ROUTER1, en IOS Command Line Interface:


24.1 Router#copy running-config startup-config

25 ROUTER2, en IOS Command Line Interface:


25.1 Router>enable
25.2 Router#copy running-config startup-config

26 Ahora agregamos "DSL-Modem", "PT-Cloud", "PT-Router, en este caso ya es ""Router3"", Server-PT. En "DSL-Modem
(cable Teléfono)" seleccionamos 'Port 0' → "PT-Cloud" seleccionando 'Modem 4'. En "PT-Cloud (cable directo)"
seleccionamos 'Ethernet6' → "Router3" seleccionando 'GigabitEthernet0/0'. "Router3 (cable directo)" seleccionamos
'GigabitEthernet1/0' → "Server" seleccionando 'FastEthernet0'

- Servidor colocamos IP statica: 8.8.25.8. Mascara Subred: 255.255.255.0. Default Gateway: 8.8.25.1
12

27 ROUTER3, interfaz grafica. Apagar interruptor quitamos tarjeta "CFE" Y AGREGAMOS 2 tarjetas "1CGE". Encender
interruptor

28 ROUTER3, en IOS Command Line Interface:


28.1 Router>enable
28.2 Router#conf t
28.3 Router (config) #int Gig
28.4 Router (config) #int GigabitEthernet0/0
28.5 Router (config-if) #ip address 82.130.218.100 255.255.255.0
28.6 Router (config-if) #no shutdown
28.7 Router (config-if) #exit. HACER: copy running-config startup-config

28.8 Router (config) #int Gig


28.9 Router (config) #int GigabitEthernet 1/0
28.10 Router (config-if) #ip address 8.8.25.1 255.255.255.0
28.11 Router (config-if) #no shutdown
13

29 ROUTER2, en IOS Command Line Interface:


29.1 Router>enable
29.2 Router#conf t
29.3 Router (config) #do sh ip int br
29.4 Router (config) #int FastEthernet6/0
29.5 Router (config-if) #ip address 82.130.218.230 255.255.255.0
29.6 Router (config-if) #no shutdown
29.7 Router (config-if) #exit
29.8 Router (config) #exit
29.9 Router (config) #do sh ip int br
29.10 Router (config) #end
29.11 Router #copy running-config startup-config
14

30 Ingreso Modem4, Pestaña: "Config" → selecciono "DSL", Click: 'Agregar'. Se añadira en Puerto: "Modem4" +
"Ethernet6"

31 ROUTER2, en IOS Command Line Interface:


31.1 Router>enable
31.2 Router#conf t
31.3 Router (config) #ip route 0.0.0.0 0.0.0.0 82.130.218.100
31.4 Router (config) #router ospf 1
31.5 Router (config-router) #default-information originate

4. Cartel con el último número de la IP en los Interfaces:


15

32 ROUTER0, en IOS Command Line Interface:


32.1 Router>enable
32.2 Router#conf t
32.3 Router (config) #do sh ip route

33 ROUTER3, en IOS Command Line Interface:


33.1 Router>enable
33.2 Router#conf t
33.4 Router (config) #ip route 0.0.0.0 0.0.0.0 82.130.218.230
16

02 EJERCICIO - PRACTICA – OSPF (Cisco Packet Tracer) / PASO A PASO

MobaXterm – Se vincula con Putty: Click “User sessions” Creamos “New sessión” seleccionando “SSH”. Remote host:
192.168.3.129. Quitamos pestaña “Specify username” “Port: 22” OK. Ingresamos a la consola, colocamos nuestro usuario y
password. Ingresamos a nuestro “Router”:

Router03#conf t
Router03(config)#do s hip int br
17

Router03(config)#int Serial 0/0/0


Router03(config-if)#ip address 10.132.23.10 255.255.255.252
Router03(config-if)#no shutdown
Router03(config-if)#end

Router03#conf t
Router03(config)#int Serial 0/0/0
Router03(config-if)#ip address 10.132.34.13 255.255.255.252
Router03(config-if)#no shutdown
Router03(config-if)#end

Click “User sessions” Creamos “New sessión” seleccionando “SSH”. Remote host: 192.168.3.130. Quitamos pestaña
“Specify username” “Port: 22” OK. Ingresamos a la consola, colocamos nuestro usuario y password. Ingresamos a nuestro
“Switch”:
18

- Se guarda una copia de la configuración en un servidor TFTP de la LAN.


- El switch tiene salida a Internet
Switch03#copy running-config tftp://192.168.3.131/running-config
Switch03#sh ip route
Switch03#conf t
Switch03(config)#ip default-gateway ?
Switch03(config)#ip default-gateway 192.168.3.129
Switch03(config)#end
Switch03#ping 8.8.8.8

- Se ha creado un usuario administrador jiuser con password encriptada 12345Abcde:


Ingresamos nuestro “Router” a la consola que es la ip 192.168.3.129.
Router03#conf t
Router03(config)#username jiuser privilege 15 secret 12345Abcde
Router03(config)#do sh running-config
Router03(config)#end
Router03#copy running-config startup-config
19

You might also like