Protocolo DHCP Con Router

Descargar como docx, pdf o txt
Descargar como docx, pdf o txt
Está en la página 1de 5

Rango1. dir_IP: 195.145.55.0 máscara: 255.255.255.

192 (C)
Rango2. dir_IP: 200.100.128.0 máscara: 255.255.255.128 (C)
Rango3. dir_IP: 145.45.25.0 máscara: 255.255.255.240 (B)
Rango4. dir_IP: 200.100.128.0 máscara: 255.255.255.0 (C)

COMANDOS PARA CONFIGURAR ROUTER


PARA poner el nombre del router
Router > enable //para entrar al router
Router # conf terminal
Router (config) #
Router (config)#hostname unheval
para verificar los fases ethernet
universidad(config)#ctrl+z
universidad#sh ip interface brief //para saber que interfaces hay
universidad#confi terminal
universidad(config)#interface fastEthernet 0/0 //poner el ip
universidad(config-if)#ip address 192.168.1.1 255.255.255.0
universidad(config-if)#no shutdown //para que este en verde o cambiar de color
desbloquear
universidad(config-if)#exit //para salir y configuar el siguiente interfaz el 0/1
universidad(config-if)# ctrl+z
universidad#write //para grabar pero solo en borrador
universidad#copy running-config startup-config //´para grabar en la memoria ram

CONFIGURACION BASICO DE UN ROUTER


Router>enable
Router#conf terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 195.140.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit para configuarar otro 0/1
Router(config-if)#ctrl+z
Router#write
Router(config)# copy running-config startup-config

PROTOCOLO DHCP CON ROUTER


Router>Enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.150.1 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#ip dhcp pool red150


Router(dhcp-config)#network 192.168.150.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.150.1
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 192.168.150.1
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#write
Building configuration...
[OK]
Router#

PROTOCOLO DHCP CON ROUTER


router>enable
router>configure terminal
router(config)#interface fastEthernet 0/0 //para nombrar los ip
router(config-if)#ip address 1982.168.150.0 255.255.255.0 //ip de fast 0/0
router(config-if)#no shutdown
router(config-if)#exit
config(config)#ip dhcp pool red150 // 150 es para nombrar la cantidad de equipos
router(dhcp-config)#networw 192.168.150.0 255.2550.255.0 // la red general o ip
general
router(dhcp-config)#defacult-router 192.168.150.1 // para nombrar el gateway sin
mascara
router(dhcp-config)#exit
router(config)#ip dhcp excluded-address 192.168.150.1 //para que no tome esa ip
router(config)#ctrl+z
router#write //para grabar termporalmente
router#copy runnning-config startup-config //para grabar en la ram
Una vez en modo de configuración global, solo deberás ingresar un comando para
establecer una contraseña:
Router (config) # enable password contraseña

Servidor DHCP con un router

Router>enable
Router#conf terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.100.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface fastEthernet 0/1
Router(config-if)#ip address 192.168.200.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface fastEthernet 0/1
Router(config-if)#ip helper-address 192.168.100.10
Router(config-if)#exit
Router(config)#do wr
Building configuration...
[OK]
Router(config)#

CONFIGURACION DE CUATRO ROUTERS ESTATICO


Router>enable
Router#conf terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 220.170.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#^Z
Router#write
Router(config)# copy running-config startup-config
……………………………………………………………………………….
Router#conf terminal
Router(config)#ip route 220.170.2.0 255.255.255.0 11.0.0.2
Router(config)#ip route 220.170.4.0 255.255.255.0 14.0.0.1
Router(config)#ip route 220.170.3.0 255.255.255.0 11.0.0.2
Router(config)#ip route 220.170.3.0 255.255.255.0 14.0.0.1
Router(config)#^Z
Router#wr
CONFIGURACION DE 2 ROUTERS ESTATICO
Router>enable
Router#conf terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.68.0.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#^Z
Router#wr
Router#configure terminal
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)clock rate 64000
Router(config-if)#^Z
Router#wr
Router(config)#ip route 192.68.0.0 255.255.255.0 10.0.0.1
Router(config)#^Z
Router#wr

Router 4

Router(config)#ip route 202.120.36.0 255.255.255.0 21.0.0.2


Router(config)#ip route 22.0.0.0 255.0.0.0 21.0.0.2
Router(config)#ip route 202.120.37.0 255.255.255.0 21.0.0.2
Router(config)#ip route 202.120.37.0 255.255.255.0 25.0.0.2
Router(config)#ip route 23.0.0.0 255.0.0.0 24.0.0.1
Router(config)#ip route 202.120.38.0 255.255.255.0 24.0.0.1
Router(config)#ip route 202.120.37.0 255.255.255.0 24.0.0.1

Route 5
Router(config)#ip route 202.120.35.0 255.255.255.0 21.0.0.1
Router(config)#ip route 202.120.37.0 255.255.255.0 22.0.0.2
Router(config)#ip route 23.0.0.0 255.0.0.0 22.0.0.2
Router(config)#ip route 202.120.38.0 255.255.255.0 21.0.0.1
Router(config)#ip route 202.120.38.0 255.255.255.0 22.0.0.1
%Invalid next hop address (it's this router)
Router(config)#ip route 202.120.38.0 255.255.255.0 22.0.0.2

Route 6
Router(config)#ip route 202.120.35.0 255.255.255.0 23.0.0.2
Router(config)#ip route 202.120.35.0 255.255.255.0 25.0.0.1
Router(config)#ip route 202.120.35.0 255.255.255.0 22.0.0.1
Router(config)#ip route 202.120.36.0 255.255.255.0 22.0.0.1
Router(config)#ip route 21.0.0.0 255.0.0.0 22.0.0.1
Router(config)#ip route 202.120.38.0 255.255.255.0 23.0.0.2
Router(config)#ip route 24.0.0.0 255.0.0.0 23.0.0.2

Route 7
Router(config)#ip route 202.120.35.0 255.255.255.0 24.0.0.2
Router(config)#ip route 21.0.0.0 255.0.0.0 24.0.0.2
Router(config)#ip route 202.120.36.0 255.255.255.0 24.0.0.2
Router(config)#ip route 202.120.36.0 255.255.255.0 23.0.0.1
Router(config)#ip route 202.120.37.0 255.255.255.0 23.0.0.1
Router(config)#ip route 22.0.0.0 255.0.0.0 23.0.0.1

También podría gustarte

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy