不同vlan之间通信地三种方式方法
15页1、word不同vlan间的通信简单配置1单臂路由(图)环境:一台路由器,一台二层交换机,两台pc机二层交换机的配置一般模式:Switch输入enable进入特权模式:Switchenable输入configure terminal进入全局配置模式:Switch#configure terminal Enter configuration mands, one per line. End with TL/Z.创建vlan 10 和 vlan 20:Switch(config)#vlan 10Switch(config-vlan)#vlan 20Switch(config-vlan)# exit进入接口配置模式:Switch(config)#interface fastEthernet 0/1把0/1变成trunk口默认是access口Switch(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINE
2、PROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#exit进入接口配置模式分别把对应的接口,参加对应的vlan:Switch(config)#interface fastEthernet 1/1Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10Switch(config-if)#interface fastEthernet 2/1Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 20到此二层交换机配置完毕!路由器的配置:RouterRouterenableRouter#configure terminal Enter configuration mands, one per line. End with TL/Z.R
3、outer(config)#inter fas 0/0Router(config-if)#no ip address Router(config-if)#no shutdown 注意:单臂路由的配置父接口一定要no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#exit%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, changed state to upRouter(config-subif)#encapsulation dot1Q 10%LINK-5-CHANGED: In
4、terface FastEthernet0/0.20, changed state to up% Configuring IP routing on a LAN subinterface is only allowed if thatsubinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,or ISL vLAN.Router(config-subif)#encapsulation dot1Q 20Router(config-subif)#ip address 192.168.20.1 255.255.255.0Router(config-subif)#no shutdown Router(config-subif)#查看路由表:Router#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF,
《不同vlan之间通信地三种方式方法》由会员汽***分享,可在线阅读,更多相关《不同vlan之间通信地三种方式方法》请在金锄头文库上搜索。
小学总务处半年工作总结.doc
食堂员工个人年终工作总结(4篇).doc
买车协议书1000字.doc
2023年甘肃省陇南市康县豆坝镇栗子坪村社区工作人员考试模拟题及答案
2023年畜禽检疫管理制度.docx
2023年买卖车位合同模板.doc
食用菌即食产品生产加工项目资金申请报告写作模板定制
(精品word)2016江苏省中小学教师健康知识(多选题).doc
学案—(复习课)
学校安全目标管理责任书.docx
心理咨询师二级考试真题和答案
2023年学会感恩初中作文400字3.docx
2023年申请调整年度目标责任考核指标请示.docx
鲁教版语文初二第二单元阅读训练
如何听课和评课(转))
新目标英语八年级上Unit3单元检测题.doc
黄桂英反比例函数的图象和性质(一)教学设计研究.doc
2023年造价工程师工程造价案例分析模拟真题
二氧化碳合成可降解塑料的国内外进展
清华版五年级信息技术下册全册教案试卷教案.doc
2023-12-29 16页
2023-08-28 1页
2022-08-24 13页
2023-09-03 5页
2022-09-06 8页
2023-11-06 8页
2023-09-19 12页
2023-12-24 2页
2024-01-27 6页
2022-11-19 7页