You are on page 1of 4

==================================

SWICH - 1
==================================
en
conf t
no ip domain-lookup
hostname S1
line console 0
password class
login
exit
enable secret cisco
line vty 0 15
password cisco
login
exit
inter vlan 1
ip add 172.16.10.6 255.255.255.0
ip default-gateway 172.16.10.1
inter gi0/1
sw mo trunk
exit
do wr

==================================
SWICH - 2
==================================
en
conf t
no ip domain-lookup
hostname S2
line console 0
password class
login
exit
enable secret cisco
line vty 0 15
password cisco
login
exit
inter vlan 1
ip add 172.16.10.7 255.255.255.0
ip default-gateway 172.16.10.3
inter gi0/1
sw mo trunk
exit
do wr

==================================
R2
==================================
en
conf t
no ip domain-lookup
hostname R2
line console 0
password class
login
exit
enable secret cisco
line vty 0 15
password cisco
login
exit

inter gi0/1
ip add 172.16.10.1 255.255.255.0
no sh
exit
inter ser 0/0/0
clock rate 128000
ip add 20.20.20.1 255.255.255.252
no sh
exit
router rip
version 2
network 172.16.10.0
network 20.20.20.0
no auto-summary
exit
do wr
inter g0/1
standby version 2
standby 1 ip 172.16.10.254
standby 1 priority 150
standby 1 preempt
exi

#despues de hacer dhcp al router de borde


inter gi0/1
ip helper-address 20.20.20.2
exi

==================================
R3
==================================

en
conf t
no ip domain-lookup
hostname R3
line console 0
password class
login
exit
enable secret cisco
line vty 0 15
password cisco
login
exit

inter gi0/1
ip add 172.16.10.3 255.255.255.0
no sh
exit
inter ser 0/0/1
clock rate 128000
ip add 20.20.20.6 255.255.255.252
no sh
exit
router rip
version 2
network 172.16.10.0
network 20.20.20.0
no auto-summary
exit
inter g0/1
standby version 2
standby 1 ip 172.16.10.254

#despues de hacer dhcp al router de borde

inter gi0/1
ip helper-address 20.20.20.2
exi

==================================
ROUTER - 1 RIP
==================================
en
conf t
no ip domain-lookup
hostname R1
line console 0
password class
login
exit
enable secret cisco
line vty 0 15
password cisco
login
exit
service password-encryption
banner motd "BIENVENIDO ESTA EN SSH"
line vty 0 4
no password
transpor input ssh
login local
exit
username adrian privilege 15 password cisco
ip domain-name redes.net
crypto key generate rsa

inter serial0/0/0
ip add 20.20.20.2 255.255.255.252
clock rate 128000
no shut
exit
inter serial0/0/1
ip add 20.20.20.5 255.255.255.252
clock rate 128000
no shut
exit
router rip
version 2
default-information originate
network 172.16.10.0
network 20.20.20.0
network 20.20.20.4
no auto-summary
exit

ip dhcp excluded-address
ip dhcp pool final
network 172.16.10.0 255.255.255.0
default-router 172.16.10.254
dns-server 8.8.8.8
ex

#Despues de asegurarse que se comunique todo

access-list 1 permit 172.16.10.0 0.0.0.255


ip nat inside source list 1 inter gi0/1 overload
inter ser 0/0/0
ip nat inside
exit
inter ser 0/0/1
ip nat inside
exit
inter gi0/1
ip nat outside
exit
do wr

You might also like