Anda di halaman 1dari 5

---------------------------------------------------------

!
hostname Lima
!
enable secret class
!
line console 0
login
password cisco
!
service password-encryption
!
banner motd #Acceso Restringido#
!
line vty 0 4
login
password cisco
!
interface f0/0
ip address 192.168.5.1 255.255.255.0
no shutdown
!
interface f0/1
ip address 172.17.2.5 255.255.252.0
no shutdown
!
interface s0/1/0
ip address 10.10.5.1 255.255.255.0
no shutdown
!
ip route 0.0.0.0 0.0.0.0 172.17.3.254
!

!Rutas
Router rip
version 2
network 10.10.5.0
network 192.168.5.0
default-information originate
!

!Configurando DHCP
!
ip dhcp excluded-address 192.168.5.1
!
ip dhcp pool LAN-6
network 192.168.5.0 255.255.255.0
default-router 192.168.5.1
!dns-server 8.8.8.8 ###es necesario en conexion fisica
!

!Configurando NAT/PAT
!
ip nat inside source list 50 interface f0/1 overload
!
access-list 50 permit 192.168.5.0 0.0.0.255
access-list 50 permit 172.20.5.0 0.0.0.255
access-list 50 permit 172.21.5.0 0.0.0.255
!
interface f0/0
ip nat inside
exit
!
interface f0/1
ip nat outside
exit
!
interface s0/1/0
ip nat inside
exit
!

----------------------------------------------------------
!
hostname Arequipa
!
enable secret class
!
line console 0
login
password cisco
!
service password-encryption
!
banner motd #Acceso Restringido#
!
line vty 0 4
login
password cisco
!
interface f0/0
ip address 172.20.5.1 255.255.255.0
no shutdown
!
interface f0/1
ip address 172.21.5.1 255.255.255.0
no shutdown
!
interface s0/1/0
ip address 10.10.5.2 255.255.255.0
no shutdown
!

!Rutas
Router rip
version 2
network 10.10.5.0
network 172.21.5.0
network 172.20.5.0
!
!Configurando DHCP
!
ip dhcp excluded-address 172.20.5.1
ip dhcp excluded-address 172.20.5.250
ip dhcp excluded-address 172.21.5.1

ip dhcp pool LAN-6


network 172.20.5.0 255.255.255.0
default-router 172.20.5.1
!dns-server 8.8.8.8 ###es necesario en conexion fisica
!
ip dhcp pool LAN-7
network 172.21.5.0 255.255.255.0
default-router 172.21.5.1
!dns-server 8.8.8.8 ###es necesario en conexion fisica
!

--------------------------------------------------------------
!
hostname SW-Arequipa
!
enable secret class
!
line console 0
login
password cisco
!
service password-encryption
!
banner motd #Acceso Restringido#
!
line vty 0 4
login
password cisco
!
------------------
!
interface vlan 1
no shutdown
ip address 172.20.5.250 255.255.255.0
!
ip default-gateway 172.20.5.1

------------------------------------------------------------

!AP
!
interface bvi 1
no shutdown
ip address 172.21.5.250 255.255.255.0
!
ip default-gateway 172.21.5.1
!
-----------------------------------------
!Configurando AP
interface dot11radio 0
no shutdown
encryption mode ciphers aes-ccm
ssid FIIS-05
!
dot11 ssid FIIS-05
authentication open
guest-mode
authentication key-management wpa
wpa-psk asccii unifiis01

--------------------------
!
hostname ISP
!
enable secret class
!
line console 0
login
password cisco
!
service password-encryption
!
banner motd #Acceso Restringido#
!
line vty 0 4
login
password cisco
!
interface f0/0
ip address 64.64.64.1 255.255.255.0
no shutdown
!
interface f0/1
ip address 172.17.3.254 255.255.252.0
no shutdown
!
---------------
verificacion tabla de enrutamiento > show ip interface brief
estado de las interfaces > show ip route
ipconfig /all
show running-config
Nat : show ip nat translation
Roiter,switch y ap: show ip dhcp binding

-NOP HAY NAT

-----------------
!Pasos para configurar el servidor:
!ir a config:
Setting:
!en gateway: 64.64.64.1
!DNS server: 8.8.8.8
FastEtherneth0:
Static
ip address :64.64.64.64
Subnet Mask : 255.255.255.0

Preguntas
-----------------------------------------------------------------
verificacion tabla de enrutamiento > show ip route

estado de las interfaces > show ip interface brief

Nat: show ip nat translation (ip


DHCP: show ip dhcp binding ip que estan en la red
ap: show dot11 association dispositivos que estan conectados al ap)
tabla de Ruteo: show ip route
estado de interfaces: show ip interface brief

cmd

tracert www.google.com

ipconfig /all

Renovar direccion IP
ipconfig /release
ipconfig /renew

Cisco
class
----------------------------
Eleminar configuracion

erase startup-config
delete vlan.dat
reload

Anda mungkin juga menyukai