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 ,如需转载请自行联系原作者


目录
打赏
0
0
0
0
101
分享
相关文章
<!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下的数据一定是相同的。
857 0
<!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
Datanode的日志中看到: 10/12/14 20:10:31 INFO hdfs.DFSClient: Could not obtain block blk_XXXXXXXXXXXXXXXXXXXXXX_YYYYYYYY from any node: java.
739 0
<!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
PipeMapRed.waitOutputThreads(): subprocess failed with code X ,这里code X对应的信息如下:error code 1: Operation not perm...
1005 0
<!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.
772 0
<!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
电商数据分析基础指标体系 傅志华 傅志华 信息流、物流和资金流三大平台是电子商务的三个最为重要的平台。而电子商务信息系统最核心的能力是大数据能力,包括大数据处理、数据分析和数据挖掘能力。
1492 0
<!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
     比如RDD里的计算调用了别的组件类里的方法(比如hbase里的put方法),那么序列化时,会将该方法所属的对象的所有变量都序列化的,可能有些根本没有实现序列化导致直接报错。
769 0
<!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个是坏人。
736 0

热门文章

最新文章

AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等