欢迎来到天天文库
浏览记录
ID:57696688
大小:44.00 KB
页数:5页
时间:2020-09-01
《不晓得对不对.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、1.写pc机的ip地址192.168.1.2~6.22.路由器s0接口ip地址192.168.10.2-10.73.交换机接口192.18.10.8-10.134.划分Vlan要求pc1与pc4相通,pc2与pc5相通,pc3与pc6相通。其余不通一.给pc写ip地址Pc1#ipconfig/ip192.168.1.2--------ip#ipconfig/dg192.168.1.1-------网关Pc2#ipconfig/ip192.168.2.2#ipconfig/dg192.168.2.1Pc3#ipconfig/ip192.168.3.2#ipconfig/dg19
2、2.168.3.1Pc4#ipconfig/ip192.168.4.2#ipconfig/dg192.168.4.1Pc5#ipconfig/ip192.168.5.2#ipconfig/dg192.168.5.1Pc6#ipconfig/ip192.168.6.2#ipconfig/dg192.168.6.1Pc2-pc6同上二.1.路由器配置Router1#en----------进入特权模式#conft----------进入全局配置#hostnamerouter1----------修改路由器名称#interfaceethemet0----------进入接口模式#i
3、paddress192.168.1.1255.255.255.0----------配置接口地址和子网掩码#noshutdown---------启动接口s0口配置#interfaceserial0#encapsulationhdlc#ipaddress192.168.10.2255.255.255.0#noshutdownRouter2:#en#conft#hostnamerouter2#interfaceethemet0#ipaddress192.168.2.1255.255.255.0#noshutdowns0口配置#interfaceserial0#encapsula
4、tionhdlc#ipaddress192.168.10.3255.255.255.0#noshutdownRouter3:#en#conft#hostnamerouter3#interfaceethemet0#ipaddress192.168.3.1255.255.255.0#noshutdowns0口配置#interfaceserial0#encapsulationhdlc#ipaddress192.168.10.4255.255.255.0#noshutdownRouter4:#en#conft#hostnamerouter4#interfaceethemet0#ipa
5、ddress192.168.4.1255.255.255.0#noshutdowns0口配置#interfaceserial0#encapsulationhdlc#ipaddress192.168.10.5255.255.255.0#noshutdownRouter5#en#conft#hostnamerouter5#interfaceethemet0#ipaddress192.168.5.1255.255.255.0#noshutdowns0口配置#interfaceserial0#encapsulationhdlc#ipaddress192.168.10.6255.255
6、.255.0#noshutdownRouter6:#en#conft#hostnamerouter6#interfaceethemet0#ipaddress192.168.6.1255.255.255.0#noshutdowns0口配置#interfaceserial0#encapsulationhdlc#ipaddress192.168.10.7255.255.255.0#noshutdown2.因为跨网段要编写路由表Router1配置#en#conft#iproute192.168.6.0255.255.255.0192.168.10.2---如果看到去往7.0的数据包给
7、了10.2Router2配置#en#conft#iprouter192.168.5.0255.255.255.0192.168.10.3Router3配置#en#conft#iprouter192.168.4.0255.255.255.0192.168.10.4Router4配置#en#conft#iprouter192.168.3.0255.255.255.0192.168.10.5Router5配置#en#conft#iprouter192.168.2.0255.255.255.0192.168.1
此文档下载收益归作者所有