viernes, 31 de octubre de 2008

cuestionari practica de halloween




router> enable
router> config t
router# enable secret s
router# hostname 1
1# enable password c
1# enable secret class
1(config)# line console 0
1(config)# password cisco
1(config)# login
1(config)# line vty 0 4
1(config)# password c
1(config)# login
1(config)# int serial 0/0/0
1(config-if)# ip address 192.168.2.1 255.255.255.0
1(config-if)# no shutdown
1(config-if)# exit
1(config)# int FastEthernet 0/0
1(config-if)# ip address 192.168.1.1 255.255.255.0
1(config-if)# no shutdown
1(config-if)# exit
1(config)# router rip
1(config)# version 2
1(config)# network 192.168.2.0
1(config)# network 192.168.1.0

router> enable
router> config t
router# enable secret s
router# hostname 2
2# enable password c
2# enable secret class
2(config)# line console 0
2(config)# password cisco
2(config)# login
2(config)# line vty 0 4
2(config)# password c
2(config)# login
2(config)# int serial 0/0/0
2(config-if)# ip address 192.168.2.2 255.255.255.0
2(config-if)# no shutdown
2(config-if)# exit
2(config)# int FastEthernet 0/0
2(config-if)# ip address 192.168.2.1 255.255.255.0
2(config-if)# no shutdown
2(config-if)# exit
2(config)# router rip
2(config)# version 2
2(config)# network 192.168.2.0
2(config)# network 192.168.1.0

Switch>enable
Switch#configure terminal
Switch(config)#hostname SWITCH1
SWITCH1(config)#enable password SS
SWITCH1(config)#enable secret HU
SWITCH1(config)#line console 0
SWITCH1(config-line)#login
SWITCH1(config-line)#password SS
SWITCH1(config)#line vty 0 4
SWITCH1(config-line)#login
SWITCH1(config-line)#password HU

SWITCH1(config)#interface vlan 1
SWITCH1(config-vlan)#ip address 192.168.1.5 255.255.255.0
SWITCH1(config-vlan)#no shutdown
SWITCH1(config)#ip default-gateway[IP de gateway]
SWITCH1(config)#exit

HOST#configure terminal

HOST(config)#ip host HOST1 192.168.1.10

HOST1(config)#no shutdown

HOST1# exit

No hay comentarios: