CCNA(Stand-ALONE)Lab 11-Creating a Host Table
2008-04-16 14:36
555 查看
Objective: Become familiar with the router’s host table. Host tables can be used to set names for commonly used IP addresses, which helps with troubleshooting.
Lab Equipment: Router 1 from the eRouters menu
1. Connect to Router 1, and set the host name to California.
Router>enable
Router#config t
Router(config)#hostname California
California(config)#
2. configure an IP address of 195.42.36.10 255.255.255.240 on the Ethernet 0 interface;be sure to enable the interface.
California(config)#interface ethernet 0
California(config-if)#ip address 195.42.36.10 255.255.255.240
California(config-if)#no shutdown
3. Connect to Router 2, and set the host name to Tampa.
Router>enable
Router#config t
Router(config)#hostname Tampa
Tampa(config)#
4. configure an IP address of 195.42.36.12 255.255.255.240 on the Ethernet 0 interface; be sure to enable the interface.
Tampa(config)#interface ethernet 0
Tampa(config-if)#ip address 195.42.36.12 255.255.255.240
Tampa(config-if)#no shutdown
Tampa(config-if)#exit
5. Exit interface mode. You do not want to have to type California’s Ethernet 0 IP address every time you try to ping it from Tampa, so set a host table entry for California using the IP address 195.42.36.10.
Tampa(config)#ip host California 195.42.36.10
Tampa(config#)exit
6. Now you should be able to ping California’s Ethernet 0 IP address from Tampa just by typing ping California.
Tampa#ping California
7. Use the show hosts command to verify that the entry is stored in the router’s host table.
Tampa#show hosts
*******************************************************
Above:CCNA(Stand-ALONE)Lab 10-ARP
Next:CCNA(Stand-ALONE)Lab 12-Static Routes
Lab Equipment: Router 1 from the eRouters menu
1. Connect to Router 1, and set the host name to California.
Router>enable
Router#config t
Router(config)#hostname California
California(config)#
2. configure an IP address of 195.42.36.10 255.255.255.240 on the Ethernet 0 interface;be sure to enable the interface.
California(config)#interface ethernet 0
California(config-if)#ip address 195.42.36.10 255.255.255.240
California(config-if)#no shutdown
3. Connect to Router 2, and set the host name to Tampa.
Router>enable
Router#config t
Router(config)#hostname Tampa
Tampa(config)#
4. configure an IP address of 195.42.36.12 255.255.255.240 on the Ethernet 0 interface; be sure to enable the interface.
Tampa(config)#interface ethernet 0
Tampa(config-if)#ip address 195.42.36.12 255.255.255.240
Tampa(config-if)#no shutdown
Tampa(config-if)#exit
5. Exit interface mode. You do not want to have to type California’s Ethernet 0 IP address every time you try to ping it from Tampa, so set a host table entry for California using the IP address 195.42.36.10.
Tampa(config)#ip host California 195.42.36.10
Tampa(config#)exit
6. Now you should be able to ping California’s Ethernet 0 IP address from Tampa just by typing ping California.
Tampa#ping California
7. Use the show hosts command to verify that the entry is stored in the router’s host table.
Tampa#show hosts
*******************************************************
Above:CCNA(Stand-ALONE)Lab 10-ARP
Next:CCNA(Stand-ALONE)Lab 12-Static Routes
相关文章推荐
- CCNA(Stand-ALONE)Lab 8-Introduction to Interface configuration
- CCNA(Stand-ALONE)Lab 25-Frame Relay Hub-and-Spoke Topology
- CCNA(Stand-ALONE)Lab 27-Standard Access Lists
- CCNA(Stand-ALONE)Lab 32-Advanced Extended Access Lists
- CCNA(Stand-ALONE)Lab 26-Frame Relay Full Mesh Topology
- CCNA(Stand-ALONE)Lab 28-Verify Standard Access Lists
- CCNA(Stand-ALONE)Lab 3-Introduction to the Basic Show Commands
- CCNA(Stand-ALONE)Lab 5-Extended Basics
- CCNA(Stand-ALONE)Lab 9-Introduction to IP
- CCNA(Stand-ALONE)Lab 15-IGRP
- CCNA(Stand-ALONE)Lab 19-Loading Router configurations
- CCNA(Stand-ALONE)Lab 22-Introduction to the Switch
- CCNA(Stand-ALONE)Lab 4-CDP
- CCNA(Stand-ALONE)Lab 23-Introduction to Basic Switch Commands
- CCNA(Stand-ALONE)Lab 29-Extended Access Lists
- CCNA(Stand-ALONE)Lab 6-Banner MOTD
- CCNA(Stand-ALONE)Lab 10-ARP
- CCNA(Stand-ALONE)Lab 13-RIP
- CCNA(Stand-ALONE)Lab 20-Copying and Pasting configurations
- CCNA(Stand-ALONE)Lab 16-PPP With CHAP Authentication