CCNA培训课件-Vlan间路由.pptx

上传人:暗伤 文档编号:68133177 上传时间:2022-12-27 格式:PPTX 页数:12 大小:700.12KB
返回 下载 相关 举报
CCNA培训课件-Vlan间路由.pptx_第1页
第1页 / 共12页
CCNA培训课件-Vlan间路由.pptx_第2页
第2页 / 共12页
点击查看更多>>
资源描述

《CCNA培训课件-Vlan间路由.pptx》由会员分享,可在线阅读,更多相关《CCNA培训课件-Vlan间路由.pptx(12页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、C C N AVlan间路由Routing Between VLANs CoursewarePurpose of Inter-VLAN Routing通过路由表在不同vlan间交换数据A VLAN creates a separate switching segment.Traffic cannot be switched between VLANs.VLANs have different IP subnets.Routing is necessary to forward traffic between VLANs.Options for Inter-VLAN RoutingThese s

2、olutions can provide inter-VLAN routing:Router with a separate interface in each VLAN(不现实的方案)Router with a trunk link(单臂路由)Layer 3 switch(交换机的三层功能-SVI)Options for Inter-VLAN Routing(Cont.)Option:Router with a separate interface in each VLAN-用路由 器的物理接口产生的直连进行vlan间路由(太浪费端口了!)Options for Inter-VLAN Rou

3、ting(Cont.)Option:Router with a trunk link-单臂路由,通过子接口完成Options for Inter-VLAN Routing(Cont.)Option:Layer 3 switch-通过三层交换机的物理接口完成,同样 过于浪费交换机的接口Configuring a Router with a Trunk LinkRouter(config)#interface GigabitEthernet 0/0.10Router(config-if)#encapsulation dot1Q 10Router(config-if)#ip address 10.1

4、.10.1 255.255.255.0 Router(config-if)#interface GigabitEthernet 0/0.20 Router(config-if)#encapsulation dot1Q 20Router(config-if)#ip address 10.1.20.1 255.255.255.0Configures subinterfaces and trunking on the routerConfiguring Router with a Trunk Link(Cont.)Switch(config)#interface FastEthernet 0/13S

5、witch(config-if)#switchport mode trunkSwitch(config-if)#interface FastEthernet 0/1Switch(config-if)#switchport access vlan 10Switch(config-if)#interface FastEthernet 0/3Switch(config-if)#switchport access vlan 20Assigns ports to specific VLANs and configures the port toward the router as a trunkConf

6、iguring Router with a Trunk LinkProtocols Configured:IPAddress:10.1.10.1Received:11Transmitted:18Virtual LAN ID:20(IEEE 802.1Q Encapsulation)vLAN Trunk Interface:GigabitEthernet0/0.20Protocols Configured:IPAddress:10.1.20.1Received:11Transmitted:8Verifies the VLAN subinterfacesRouter#show vlansVirtu

7、al LAN ID:10(IEEE 802.1Q Encapsulation)vLAN Trunk Interface:GigabitEthernet0/0.10Configuring Router with a Trunk Link(Cont.)C L C L10.0.0.0/8 is variably subnetted,4 subnets,2 masks 10.1.10.0/24 is directly connected,GigabitEthernet0/0.10 10.1.10.1/32 is directly connected,GigabitEthernet0/0.10 10.1

8、.20.0/24 is directly connected,GigabitEthernet0/0.20 10.1.20.1/32 is directly connected,GigabitEthernet0/0.20Verifies the IP routing table for VLAN subinterfacesRouter#show ip routeCodes:L-local,C-connected,S-static,R-RIP,M-mobile,B-BGP D-EIGRP,EX-EIGRP external,O-OSPF,IA-OSPF inter areaN1-OSPF NSSA

9、 external type 1,N2-OSPF NSSA external type 2 E1-OSPF external type 1,E2-OSPF external type 2i-IS-IS,su-IS-IS summary,L1-IS-IS level-1,L2-IS-IS level-2 ia-IS-IS inter area,*-candidate default,U-per-user static route o-ODR,P-periodic downloaded static route,H-NHRP,l-LISP+-replicated route,%-next hop overrideGateway of last resort is not setSummaryInter-VLAN communication cannot occur without a Layer 3 device(Layer 3 switch or router).Routing is necessary to forward traffic between VLANs.A router with a trunk link is configured with a subinterface for each VLAN.THANKS谢谢观看FOR WATCHING小脑斧老师

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 技术方案

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁