VLAN间路由Inter-VLANRouting.ppt

上传人:牧羊曲112 文档编号:5452521 上传时间:2023-07-08 格式:PPT 页数:21 大小:422.50KB
返回 下载 相关 举报
VLAN间路由Inter-VLANRouting.ppt_第1页
第1页 / 共21页
VLAN间路由Inter-VLANRouting.ppt_第2页
第2页 / 共21页
VLAN间路由Inter-VLANRouting.ppt_第3页
第3页 / 共21页
VLAN间路由Inter-VLANRouting.ppt_第4页
第4页 / 共21页
VLAN间路由Inter-VLANRouting.ppt_第5页
第5页 / 共21页
点击查看更多>>
资源描述

《VLAN间路由Inter-VLANRouting.ppt》由会员分享,可在线阅读,更多相关《VLAN间路由Inter-VLANRouting.ppt(21页珍藏版)》请在三一办公上搜索。

1、VLAN间路由 Inter-VLAN Routing,深圳职业技术学院计算机系网络专业,教学目标(Objectives),1.介绍VLAN间路由(Introducing Inter-VLAN Routing)2.VLAN互联问题及解决方案(Inter-VLAN Issues and Solutions)3.独臂路由器(A Router on a Stick)4.Trunk连接的路由器(Trunk-Connected Routers)5.配置VLAN间路由(Configuring Inter-VLAN Routing),介绍VLAN间路由(Introducing Inter-VLAN Routi

2、ng),没有路由的辅助VLAN1和VLAN200不能通信。VLAN1 and 200 cannot communicate without assistance of a router.,介绍VLAN间路由(Introducing Inter-VLAN Routing),为了路由在一个非Trunk环境下VLAN1和200的信息,路由器必须用一个接口连接在VLAN1中,用一个接口连接在VLAN200中。To route traffic between vlan1 and vlan200 in a non-vlan-trunk environment,a router must connect t

3、o a port in vlan 1 and a port in vlan 200.,介绍VLAN间路由(Introducing Inter-VLAN Routing),1.当在一个广播域中的主机想要访问在另一个广播域中的主机,必须通过路由器。When a host in one broadcast domain wishes to communicate with a host in another broadcast domain,a router must be involved.2.如果一个VLAN 跨越多个设备,在设备之间要用Trunk连接。If a VLAN spans acros

4、s multiple devices a trunk is used to interconnect the devices.,VLAN互联问题(Inter-VLAN Issues),当多个VLAN连接到一起时,几个技术问题随之出现When VLANs are connected together,several technical issues will arise.1.端用户设备需要到达非本地主机The need for end user devices to reach non-local hosts 2.不同vlan的主机需要通信The need for hosts on differ

5、ent VLANs to communicate,VLAN互联解决方案(Inter-VLAN Solutions),1.VLAN间通信可以通过逻辑的或者物理的连接来解决。Inter-VLAN connectivity can be achieved through either logical or physical connectivity.2.逻辑连接涉及一个从交换机到路由器的单独Trunk连接Trunk链路携带多个VLAN的信息,这种拓扑称为独臂路由器。Logical connectivity involves a single connection,or trunk,from the

6、switch to the router.That trunk can support multiple VLANs.This topology is called a router on a stick 3.物理连接需要为每一个VLAN指定一个单独的物理接口。Physical connectivity involves a separate physical connection for each VLAN.,逻辑和物理连接(Logical and Physical Connectivity),独臂路由器(A Router on a Stick),物理和逻辑接口(Physical and L

7、ogical Interfaces),在传统情况下,有4个VLAN的网络需要交换机和路由器之间使用四个物理连接In a traditional situation,a network with four VLANs would require four physical connections between the switch and the external router.随着技术的发展,向ISL变得应用更为广泛,网络设计者开始在交换机和路由器之间的连接使用Trunk。As technologies such as Inter-Switch Link(ISL)became more co

8、mmon,network designers began to use trunk links to connect routers to switches.,ISL and 802.1q,ISL和 802.1Q是快速以太口链路Trunk链路的封装格式。ISL and 802.1q are used to trunk VLANs over Fast Ethernet links 一个单一的ISL或 802.1Q链路可以传输多个VLAN信息A single ISL or 802.1q link can support multiple vlans,Trunk连接的路由器(Trunk-Connec

9、ted Routers),在路由器的接口上封装ISL 或 802.1q,可以连接交换机的Trunk接口。A ISL or 802.1q-enabled interface on the router connects to a trunk port on the switch.使用Trunk的主要好处是节省路由器和交换机的接口。不仅省钱,而且减少配置的复杂性。The primary advantage of using a trunk link is a reduction in the number of router and switch ports used.Not only can t

10、his save money,it can also reduce configuration complexity.,将物理接口划分为子接口(Dividing Physical Interfaces into Subinterfaces),将物理接口划分为子接口(Dividing Physical Interfaces into Subinterfaces),1.子接口是在物理接口上的逻辑接口。A subinterface is a logical interface within a physical interface.2.每一个子接口支持一个VLAN,可以指定一个IP地址Each su

11、binterface supports one VLAN,and is assigned one IP address.3.为了完成VLAN间路由,必须为每个VLAN创建一个子接口In order to route between VLANs with subinterfaces,a subinterface must be created for each VLAN.,配置VLAN间路由(Configuring Inter-VLAN Routing),配置VLAN间路由(Configuring Inter-VLAN Routing),1.在执行这些命令之前,每一个交换机和路由器都要确认它们支

12、持VLAN封装。Before any of these commands are implemented,each router and switch should be checked to see which VLAN encapsulations they support.2.为了正确的完成VLAN间路由,所有的路由器和交换机必须支持相同的封装。In order for inter-VLAN routing to work properly,all of the routers and switches involved must support the same encapsulati

13、on.,在物理接口上定义子接口(Define Subinterfaces on a Physical Interface),1.定义子接口Identify the interface.2.定义VLAN封装Define the VLAN encapsulation.3.配置IP地址Assign an IP address to the interface.,练习1(Exercise1),Host A in the graphic is connected to a switch port assigned to VLAN 1.Which two settings on host A are re

14、quired to allow connectivity with Host B onVLAN 2?(Choose two),练习2(Exercise2),Which of the following are valid configuration values for the host shown in thegraphic?(Choose three),VLAN通过三层交换实现VLAN路由(Inter-VLAN Routing by Layer 3 Switching),1.打开路由功能(enable routing)Switch(config)#ip routing2.为该接口分配一个IP地址(configuring IP address for SVI)interface vlan 11(路由器上配置的接口号与交换机上配置的 VLAN号相对应)ip,思考题(Questions),1.VLAN间的通信要借助第 层的设备?2.VLAN互联问题及解决方案分别是什么?3.什么是逻辑和物理连接?4.什么是独臂路由器?5.支持VLAN封装的两种方法是什么?6.使用Trunk的好处是什么?7.在物理接口上定义子接口的步骤是什么?,

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

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


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号