Professional Documents
Culture Documents
en
conf t
int r fa0/1-24
sw m acc
sw port
int r fa0/3-24
shu
int g0/1
sw m t
no shu
int g0/2
sw m t
no shu
en
conf t
router rip
v 2
net 172.16.0.0
net 192.168.10.0
net 192.168.11.0
net 192.168.12.0
net 192.168.13.0
net 10.0.0.0
Housecleaning Switch
en
conf t
hostname SW
enable secret class
service password-encryption
banner motd "ola ola"
line console 0
password cisco
login
exit
line vty 0 15
password cisco
login
exit
exit
cop r s
startup-config
exit
Housecleaning Router
en
conf t
hostname RW
enable secret class
service password-encryption
banner motd "ola ola"
line console 0
password cisco
login
exit
line aux 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
exit
cop r s
startup-config
exit
en
conf t
username ola pass cisco
enable secret class
line vty 0
login local
hostname RW
ip domain-name atec.pt
crypto key generate rsa
1024
line vty 0
transport input ssh
exit
exit
cop r s
startup-config
exit
conf t
ip dhcp excluded-address 192.168.13.120 192.168.13.126
ip dhcp pool pc7
network 192.168.13.64 255.255.255.192
default-router 192.168.13.126
dns-server 172.16.1.1
no ip helper-address 10.0.0.6
ip helper-address 10.0.0.9
interface GigabitEthernet0/0.2
no ip helper-address 10.0.0.9
ip helper-address 10.0.0.6
exit
interface GigabitEthernet0/0.3
no ip helper-address 10.0.0.9
ip helper-address 10.0.0.6
exit
conf t
ip route 0.0.0.0 0.0.0.0 10.0.0.21 5
exit
router rip
version 2
network 10.0.0.0
network 172.16.0.0
network 192.168.10.0
network 192.168.11.0
network 192.168.12.0
network 192.168.13.0
network 192.168.20.0