- 1、本文档共55页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
配置方式 EXEC模式 EXEC模式 (续) Catalyst 2950 Switch启动界面 Logging In to the Switch and Entering the Enable Password Configuring Switch Identification Showing Switch Initial Startup Status Switch show version Command Switch show interfaces Command 路由器的简单配置-任何时侯按Ctrl+C推出对话模式 出厂时的缺省配置 Setup Interface Summary Setup Initial Global Parameters Setup Initial Protocol Configurations Setup Interface Parameters Setup Script Review and Use Logging In to the Router Router User-Mode Command List Router Privileged-Mode Command List 帮助机制 路由上下文帮助 show version Command 使用增强的编辑命令 查看之前用过的命令 Viewing the Configuration show running-config and show startup-config Commands Overview of Router Modes 基本实验操作 保存配置 配置路由器主机名等参数 配置路由器的密码 两条常用的命令 IP地址规划 Unique addressing allows communication between end stations. Path choice is based on destination address. Location is represented by an address 主机通信对IP地址的要求 IP寻址 IP 地址分类 不带子网的IP寻址 带子网的IP寻址(这里的子网掩码为24位) 子网地址 子网掩码 二进制子网掩码-子网掩码只能有这9个数字 没有子网的子网掩码-缺省子网掩码 Subnets not in use—the default 有子网的子网掩码 Network number extended by eight bits 有子网的子网掩码 (续) Network number extended by ten bits 划分子网的几个捷径: 子网划分 配置路由器IP地址 show interfaces 接口的几种状态-诊断的步骤 检查串口 检查串行线是否连接好 1.你所选择的子网掩码将会产生多少个子网?:2的x次方-2(x代表掩码位,即2进制为1的部分)2.每个子网能有多少主机?: 2的y次方-2(y代表主机位,即2进制为0的部分)3.有效子网是?:有效子网号=256-10进制的子网掩码 4.每个子网的广播地址是?:广播地址=下个子网号-15.每个子网的有效主机分别是?:忽略子网内全为0和全为1的地址剩下的就是有效主机地址.最后有效1个主机地址=下个子网号-2(即广播地址-1) Other subnets 2 4 申请到一段C类地址,将这段地址分配给网络中的主机,要求有5个子网,每个子网最少有20台主机,地址分配的步骤: 1、确定网络的主机位n,利用32-n算出网络位,然后算出子网掩码 2、根据子网掩码,确定每段IP地址的范围 wg_ro_c#configure terminal wg_ro_c(config)#interface ethernet 0 wg_ro_c(config-if)#ip address wg_ro_c(config-if)#no shutdown wg_ro_c(config-if)#exit Router#show interfaces Ethernet0 is up, line protocol is up Hardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f) Internet address is 1/24 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:0
文档评论(0)