单一交换机vlan配置及单臂路由的配置.docx

上传人:牧羊曲112 文档编号:5076640 上传时间:2023-06-02 格式:DOCX 页数:5 大小:203.18KB
返回 下载 相关 举报
单一交换机vlan配置及单臂路由的配置.docx_第1页
第1页 / 共5页
单一交换机vlan配置及单臂路由的配置.docx_第2页
第2页 / 共5页
单一交换机vlan配置及单臂路由的配置.docx_第3页
第3页 / 共5页
单一交换机vlan配置及单臂路由的配置.docx_第4页
第4页 / 共5页
单一交换机vlan配置及单臂路由的配置.docx_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《单一交换机vlan配置及单臂路由的配置.docx》由会员分享,可在线阅读,更多相关《单一交换机vlan配置及单臂路由的配置.docx(5页珍藏版)》请在三一办公上搜索。

1、不跨交换机的vlan互通(单臂路由的配置)实验拓扑图如下:P-COPCL实验要求:将pc0加入vlan 2,将pci加入vlan 3并实现vlan2和vlan 3的互通;本实验中IP规划如下:主机名称IP地址子网掩码网关Pc0192.168.2.1255.255.255.0192.168.2.254Pci192.168.3.1255.255.255.0192.168.3.254首先给pc0和pci酉己置IP地址步骤如下:单机pc0弹出如下界面:Physical Device ViewMODULESLinksys-WMP3G0NPT-HOST-NM-1AMPT-HOST-NM-1CEPT-HOS

2、T-NM-1CFEPT-HOST-NN-1CGEPT-HOST-NM-1FFEPT-HOST-NM-1FGEPT-HOST-NM-1WPT-HOST-NM-1W-APT-HEADPHONEPT-MICROPHONEPT-CAM ERAPT-USB-HARD-D?1IVEConfigCriginal Siw己Customizeicon inPhysical ViewJCustomizeIcon inLcaical View13Adding Modul&s: Drag the module to an available slot an the d&vice. Removing Modules:

3、Drag the module from the device to the module list.选择desktop导航菜单弹出如下界面:然后选择IP configuration进行IP的配置Pel的配置如上所述,此处不做赘述。在交换机上的配置如下所示:SwitehenSwiteh#eonfig terminalSwitch(config)#vlan 2Switch(config-vlan)#exitSwiteh(eonfig)#vlan 3Switch(config-vlan)#exitSwitch(config)#interface fastEthernet 0/1Switch(con

4、fig-if)#switchport access vlan 2Switch(config-if)#exitSwitch(config)#interface fastEthernet 0/2Switch(config-if)#switchport access vlan 3Switch(config-if)#exitSwitch(config)#interface fastEthernet 0/3Switch(config-if)#switchport mode trunkSwitch(config-if)#exit(注释:将上行接口: f0/3设置为trunk 口的理由:承载多路vlan信息

5、)路由器的配置信息如下:RouterenableRouter#config terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface fastEthernet 0/0Router(config-if)#no shutdownRouter(config-if)#exitRouter(config)#interface fastEthernet 0/0.1Router(config-subif)#encapsulation dot1Q2Router(config-subi

6、f)#ip address 192.168.2.254 255.255.255.0Router(config-subif)#exitRouter(config)#interface fastEthernet 0/0.2Router(config-subif)#encapsulation dot1Q 3Router(config-subif)#ip address 192.168.3.254 255.255.255.0Router(config-subif)#exit进行上述配置完成后即可实现pc0和pc1的通信。此实验包括的技术有:子接口,单臂路由,vlan划分,trunk链路。本实验文档的目的是希望对网络感兴趣的朋友,通过本文简单的了解一下网络的配置。 并透过软件进行实验的配置。希望对大家有所帮助。

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号