You are on page 1of 2

A=10.0.0.

0/8
B=172.16.0.0/16
C=192.168.1.0/24
INICIAR SESION DE ROUTER Y CONFIG NAME AND PASSWORD
Router>enable
Router#configure terminal config te
Router(config)#hostname <name>
<name>(config)#line console 0
<name>(config-line)#password <newpassword>
<name>(config-line)#login
<name>(config-line)#exit
PASSWORD DE LINEAS DE TERMINAL VIRTUAL (VTY)
<name>(config)#line vty 0 4
<name>(config-line)#password <password>
<name>(config-line)#login
<name>(config-line)#exit
<name>(config)#enable password <password>
<name>(config)#enable secret <newpassword1>
<name>(config)#exit
MOSTRAR CONFIG. EN EJECUCION DEL ROUTER
<name>#show running-config sh run
CONFIG. INTERFAZ SERIAL DEL ROUTER
<name>(config)#interface serial 0/0/0
<name>(config-if)#ip address <direcc_ip> <mask_ip>
<name>(config-if)#clock rate 56000 64000 (solo si interfaz router es DCE)
<name>(config-if)#no shutdown
<name>(config-if)#exit
<name>(config)#exit
<name>#show interface serial 0/0/0 (ver la interfaz serial router)
CONFIG. INTERFAZ FASTETHERNET DEL ROUTER
<name>(config)#interface fastethernet 0/0
<name>(config-if)#ip address <direcc_ip> <mask_ip>
<name>(config-if)#no shutdown
<name>(config-if)#exit
<name>(config)#exit
<name>#show interface fastethernet 0/0 (ver la interfaz fastethernet router)
GUARDAR CONFIG. DE ROUTER
<name>#copy running-config startup-config
CONFIG. RUTAS ESTATICAS Y POR DEFECTO EN ROUTER
ESTATICA
<name>(config)#ip route 0.0.0.0 0.0.0.0 <direcc_ip_fastethernet_router>
POR DEFECTO
<name>(config)#ip route <direcc_ip_serial_router> <mask-ip> <direcc_ip_fastether
net_router>
<name>(config)#show ip route (ver ruta estatica y por defecto)
CONFIG. DIRECCION LOOPBACK
<name>(config)#interface loopback 0

<name>(config-if)#ip address <direcc_ip> <mask_ip>


CONFIG. DHCP
<name>(config)#ip dhcp excluded-address <direcc_ip>
<name>(config)#ip dhcp pool internal
<name>(dhcp-config)#network <direcc_ip> <mask_ip>
<name>(dhcp-config)#domain-name <name>
<name>(dhcp-config)#default-router <direcc_ip>
<name>(dhcp-config)#dns-server <direcc_ip>
<name>#show ip dhcp binding (ver asignacion dhcp)
CONFIGURAR NAT/PAT
<name>(config)#access-list 1 permit <direcc_ip> <mask_willcard (0.0.0.255)> (ide
ntifica lista de direcc para traducir)
CREAR NAT
<name>(config)#ip nat inside source list 1 interface serial 0/0/0 overload
<name>(config)#interface serial 0/0/0
<name>(config-if)#ip nat outside
<name>(config-if)#exit
<name>(config)#interface fastethernet 0/0
<name>(config)#ip nat inside
<name>(config)#end
<name>#show ip nat translation (probar NAT)
<name>#debug ip icmp (ver paquetes ICMP)
<name>#clear ip nat translation (eliminar NAT)
CONFI. RIP
<name>#router rip
<name>(config-router)#version 2
<name>(config-router)#network <direc_ip> (fastethernet)
<name>(config-router)#network <direc_ip> (serial)
<name>(config-router)#exit
ELIMINAR ERROR DE COMANDO
<name>(config)no ip domain lookup

You might also like