Experiment Name: Cisco Remote Access Lab report
Experimental topology:
Lab Preparation: One router, two switches, two computers
Experimental purpose: Enable PC0 to access the switch remotely
Experiment steps: 1. Configure the computer with IP, gateway, subnet mask,
2. Configure IP for the switch, gateway
Switch1 Configure IP
switch1>en
Switch1 (config) # Config terminal
Switch1 (config) #interface vlan 1
Switch1 (config-if) #ip address 192.168.1.10 255.255.255.0
Switch1 (config-if) #no shutdown
Configure the Gateway
Switch1 (config) # Config terminal
Switch1 (config) #ip Default-gateway 192.168.1.254
Switch#show IP interface Brief(check)
Configure vty password (remote access)
switch1>en
Switch1 (config) # Config terminal
Switch (config) #line vty 0 4
Switch (config-line) #password 112233
Switch2 configuration IP
switch2>enable
Switch2 (config) # Config terminal
Switch2 (config) #interface vlan 1
SWITCH2 (config-if) #ip address 192.168.2.20 255.255.255.0
SWITCH2 (config-if) #no shutdown
Switch2 (config-if) # End
Configure the Gateway
Switch2 (config) # Config terminal
Switch2 (config) #ip Default-gateway 192.168.2.254
Switch#show IP interface Brief (check)
Configure vty password (remote access)
Switch2>enable
Switch2 # Config terminal
Switch2 ( config) #line vty 0 4
Switch2 ( config-line) #password 112233 )
3. Configure the IP address for the router port
Router>enable
Router#config Terminal
Router (config) #hostname Wanglu
Wanglu (config) #interface gi0/0
Wanglu (config-if) #no shutdown
Wanglu (config-if) #ip address 192.168.1.254 255.255.255.0
Wanglu (config-if) #end
Wanglu#config Terminal
Wanglu (config) #interface gi 0/1
Wanglu (config-if) #ip address 192.168.2.254 255.255.255.0
Wanglu (config-if) #no shutdown
Wanglu (config-if) #end
wanglu#show IP Interface Brief (Check )
4. Verify the experiment: on the computer
on the switch
Experiment Summary:
1. Know when to configure the gateway
Cisco Remote Access