Professional Documents
Culture Documents
CONFIGURACIN DE SSH EN HQ
HQ(config)#crypto key generate rsa
How many bits in the modulus [512]: 2048
HQ(config)#ip domain-name CCNASkills.com
HQ(config)#username admin password adminonly
HQ(config)#line vty 0 4
HQ(config-line)#transport input ssh
HQ(config-line)#login local
HQ(config)#ip ssh version 2
HQ(config)#ip ssh authentication-retries 2
HQ(config)#ip ssh time-out 60
CONFIGURACIN DE NAT EN HQ
HQ(config)#ip nat pool HQ 209.165.200.241 209.165.200.245 netmask
255.255.255.248
HQ(config)#ip nat inside source list NAT pool HQ overload
HQ(config)#ip nat inside source static 10.0.1.2 209.165.200.246
HQ(config)#ip access-list standard NAT
HQ(config-std-nacl)#permit 10.0.0.0 0.255.255.255
HQ(config)#interface Gig0/0
HQ(config-if)#ip nat inside
HQ(config-if)#interface Serial0/0/0.41 point-to-point
HQ(config-subif)#ip nat inside
HQ(config-subif)#interface Serial0/0/1
HQ(config-if)#ip nat inside
HQ(config-if)#interface Serial0/1/0
HQ(config-if)#ip nat outside
B1(config)#interface Serial0/0/0
B1(config-if)#ip summary-address eigrp 100 10.1.0.0 255.255.0.0 5
B1(config)#interface Gig0/0
B1(config-if)#no shutdown
B1(config-if)#interface Gig0/0.10
B1(config-subif)#description Admin VLAN 10
B1(config-subif)#encapsulation dot1Q 10
B1(config-subif)#ip address 10.1.10.1 255.255.255.0
B1(config-subif)#interface Gig0/0.20
B1(config-subif)#description Sales VLAN 20
B1(config-subif)#encapsulation dot1Q 20
B1(config-subif)#ip address 10.1.20.1 255.255.255.0
B1(config-subif)#interface Gig0/0.30
B1(config-subif)#description Production VLAN 30
B1(config-subif)#encapsulation dot1Q 30
B1(config-subif)#ip address 10.1.30.1 255.255.255.0
B1(config-subif)#interface Gig0/0.99
B1(config-subif)#description Mgmt&Native VLAN 99
B1(config-subif)#encapsulation dot1Q 99 native
B1(config-subif)#ip address 10.1.99.1 255.255.255.0
VERIFICACIN DE CONECTIVIDAD
CONCLUSIN DEL LABORATORIO
La configuracin del VTP en los switches B1-S3, B1-S2, B1S1 no tena definido un
dominio por lo cual no permita la salida de los host admin, sales y produccin. Se
le asign el dominio ccna.