您的位置:首页 > 其它

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Cisco Host Router CCNA Table