
Faculty of ESBE Telecommunications & Internet Engineering
Dr. Perry XIAO Copyright © 2009, London South Bank University 2
5. By default, Cisco router runs on 10.10.10.1 IP address, and acts as a DHCP server, PCs will
get IP addresses such as 10.10.10.2 10.10.10.3……..etc. You can connect to the Cisco router
by telnet (username is cisco and password is cisco):
C:\telnet 10.10.10.1
6. Once you successfully logged in, you will see:
router#
7. All Cisco configuration information are stored in configuration script files, to view startup
configuration script file and current running configuration file, type:
router#show startup-config
router#show running-config
8. To configure the Cisco router you need to change to configuration mode. Following commands
change Cisco router to configuration mode through terminal, set the hostname, and exit the
configuration mode.
router#config terminal
router(config)#hostname 1800-ISR
^Z
1800-ISR#
9. To provide network services, first you need to connect Cisco router to the Internet, the
following commands connect FastEthernet 0 (FE0) to the Internet, it will use DHCP to get its
IP address.
1800-ISR#config terminal
1800-ISR(config)#interface FastEthernet 0
1800-ISR(config-if)#ip address dhcp
1800-ISR(config-if)#ip nat outside
1800-ISR(config-if)#no shutdown
1800-ISR(config-if)#exit
10. Second, you need to set up the NAT service for the local networks:
1800-ISR(config)#interface vlan 1
1800-ISR(config-if)# ip nat inside
1800-ISR(config-if)#exit
1800-ISR(config)#access-list 2 permit 10.10.10.0 0.0.0.255
1800-ISR(config)#ip nat inside source list 2 interface FastEthernet 0 overload
^Z
1800-ISR#
Kommentare zu diesen Handbüchern