http://blog.51cto.com/redking/71815

简介:
Objective: configure Routers 1, 2, and 4 with Internet Protocol (IP) addresses, and ping between them to test connectivity.
Lab Equipment: Router 1, Router 2, and Router 4 from the eRouters menu
Background Reading: Lab Primer Lesson 3: Basic IP configuration and Verification, and the “Ping” topic from Lab Primer Lesson 2: Basic Commands

1. Connect to Router 1, and assign it a host name of Router1.
Router>enable
Router#conf t
Router(config)#hostname Router1
Router1(config)#

2. Enter interface configuration mode for the Ethernet 0 interface.
Router1(config)#interface ethernet 0
Router1(config-if)#

3. Type the command that will set the IP address on the Ethernet 0 interface to 10.1.1.1 255.255.255.0, and enable the interface.
Router1(config-if)#ip address 10.1.1.1 255.255.255.0
Router1(config-if)#no shutdown

4. Set the IP address on the serial 0 interface of Router1 to 172.16.10.1 255.255.255.0,and enable the interface.
Router1(config)#interface serial 0
Router1(config-if)#ip address 172.16.10.1 255.255.255.0
Router1(config-if)#no shut

5. Connect to Router 2, and assign it a host name of Router2.
Router>enable
Router#conf t
Router(config)#hostname Router2
Router2(config)#

6. Set the IP address for the Ethernet 0 interface to 10.1.1.2 255.255.255.0, and enable the interface.
Router2(config)#interface Ethernet 0
Router2(config-if)#ip address 10.1.1.2 255.255.255.0
Router2(config-if)#no shutdown

7. Connect to Router 4, and assign it a host name of Router4.
Router>enable
Router#conf t
Router(config)#hostname Router4

8. configure an IP address of 172.16.10.2 255.255.255.0 on the serial 0 interface, and enable the interface.
Router4(config)#interface serial 0
Router4(config-if)#ip address 172.16.10.2 255.255.255.0
Router4(config-if)#no shutdown

9. From Router1, try to ping Router2’s Ethernet interface.
Router1#ping 10.1.1.2

10. Try to ping Router4’s serial 0 interface.
Router1#ping 172.16.10.2

11. Verify that the lines and protocols are up for all of Router1’s interfaces.
Router1#show ip interface brief

12. Display Router1’s running configuration, and verify that the IP addresses appear.
Router1#show running-config

13. Display detailed IP information about each interface on Router1.
Router1#show ip interface
**********************************************



本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/71706 ,如需转载请自行联系原作者


相关文章
|
Web App开发
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
TCP洪水攻击(SYN Flood)的诊断和处理 Posted by  海涛  on 2013 年 7 月 11 日 Tweet1 ​1. SYN Flood介绍 前段时间网站被攻击多次,其中最猛烈的就是TCP洪水攻击,即SYN Flood。
986 0
|
Web App开发 前端开发 Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
ZooKeeper 保证了数据的强一致性,  zk集群中任意节点(一个zkServer)上的相同znode下的数据一定是相同的。
791 0
|
Web App开发 前端开发
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
总结和计划总是让人喜悦或镇痛,一方面以前一段时间没有荒废,能给现在的行动以信心,另一方面看到一年的时间并不能完成很多事情,需要抓紧时间。
610 0
|
Web App开发 监控 前端开发
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
系统的升级涉及各个架构组件,细节很多。常年累月的修修补补使老系统积累了很多问题。 系统升级则意味着需要repair之前埋下的雷,那为何还要升级,可以考虑以下几个方面 成熟老系统常见问题: 1. 缺乏文档(这应该是大小公司都存在的问题。
617 0
|
Web App开发 监控 前端开发
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
已发现2个内存错误,应用名称(kernel:),日志内容(hangzhou-jishuan-DDS0248 kernel: sbridge: HANDLING MCE MEMORY ERROR hangzhou-jis...
840 0
|
Web App开发 前端开发 Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
Changing Hive Dynamic Partition Limits Symptoms: Hive enforces limits on the number of dynamic partitions that it creates.
1016 0
|
Web App开发 前端开发 Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
org.apache.hadoop.hive.ql.metadata.HiveException: Unable to rename output from: hdfs://nameservice/user/hive/warehouse/om_dw.
729 0
|
Web App开发 前端开发 算法
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html><head><meta http-equiv="Cont
大数据风控指标介绍 2016-03-24 大林 1查准率与查全率 先说个例子,申请人有400个,其中有160个是好人,240个是坏人。
687 0

热门文章

最新文章

下一篇
无影云桌面