《VLAN间相互通信》PPT课件.ppt
《《VLAN间相互通信》PPT课件.ppt》由会员分享,可在线阅读,更多相关《《VLAN间相互通信》PPT课件.ppt(28页珍藏版)》请在三一办公上搜索。
1、课程引导隔离的广播域-不同的网络,VLAN10,VLAN20,172.16.20.4,VLAN30,项目9 不同VLAN间的通信,任务1: 利用多臂路由实现不同VLAN间的通信,任务2: 利用单臂路由实现不同VLAN间的通信,任务3: 利用三层交换机实现不同VLAN间的通信,任务1: 利用多臂路由实现不同VLAN间的通信,VLAN10,VLAN30,VLAN20,多条链路连接多个VLAN,使用路由器进行VLAN间由,VLAN间通信的方法,VLAN10,VLAN20,172.20.0.0,VLAN30,172.10.0.0,172.30.0.0,VLAN间的通信必须借助路由来实现:,可以通过将各
2、交换机连接到路由器不同接口,但这种方法不现实。,任务1: 多臂路由实现不同VLAN间的通信,1、创建VLAN10、把f0/2、f0/5加入到VLAN10中S2126G(config)# vlan 10注:创建vlan 10S2126G(config)# interface fastethernet 0/2注:进入fastethernet 0/2的接口配置模式S2126G(config-if)# switch access vlan 10注:将fastethernet 0/2 端口加入vlan 10 中S2126G(config)# interface fastethernet 0/5注:进入f
3、astethernet 0/5的接口配置模式S2126G(config-if)# switch access vlan 10注:将fastethernet 0/5 端口加入vlan 10 中,二、完成任务简要配置过程,(一) 交换机的配置,2、创建VLAN20、把f0/6、f0/10加入到VLAN20中S2126G(config)# vlan 20注:创建vlan 20S2126G(config)# interface fastethernet 0/6注:进入fastethernet 0/6的接口配置模式S2126G(config-if)# switch access vlan 20注:将fa
4、stethernet 0/6 端口加入vlan 20 中S2126G(config)# interface fastethernet 0/10注:进入fastethernet 0/10的接口配置模式S2126G(config-if)# switch access vlan 20注:将fastethernet 0/10 端口加入vlan 20 中,(一) 交换机的配置,3、创建VLAN30、把f0/8、f0/15加入到VLAN30中S2126G(config)# vlan 30注:创建vlan 30S2126G(config)# interface fastethernet 0/8注:进入fas
5、tethernet 0/8的接口配置模式S2126G(config-if)# switch access vlan 30注:将fastethernet 0/6 端口加入vlan 30 中S2126G(config)# interface fastethernet 0/15注:进入fastethernet 0/15的接口配置模式S2126G(config-if)# switch access vlan 30注:将fastethernet 0/15 端口加入vlan 30 中,(一) 交换机的配置,1为路由器f0接口分配IP 地址B(config)#interface fastethernet 0
6、注:进入路由器f 0 的接口配置模式,B(config-if)#ip address 172.16.10.1 255.255.255.0注:设置路由器f0 的IP 地址为172.16.10.1,对应的子网掩码为255.255.255.0,2为路由器f1接口分配IP 地址B(config)#interface fastethernet 1注:进入路由器f 1 的接口配置模式,B(config-if)#ip address 172.16.20.1 255.255.255.0注:设置路由器f 1 的IP 地址为172.16.20.1,对应的子网掩码为255.255.255.0,(二)路由器的配置,3
7、为路由器f2接口分配IP 地址B(config)#interface fastethernet 2注:进入路由器f 2 的接口配置模式,B(config-if)#ip address 172.16.30.1 255.255.255.0注:设置路由器f2 的IP 地址为172.16.30.1,对应的子网掩码为255.255.255.0,注意将所有接口启用B(config-if)#no shutdown,(二)路由器的配置,任务2: 利用单臂路由实现不同VLAN间的通信,VLAN10,VLAN30,VLAN20,Interface FA 0/1F 0/1.1F 0/1.2F 0/1.3,一条链路连
8、接多个VLAN,单臂路由实现VLAN间路由,单臂路由实现VLAN间路由配置案例,192.168.1.0/24VLAN10,192.168.2.0/24VLAN20,Fa0/1.1,Fa0/1.2,Fa0/1,Fa0/2,Fa0/1,Fa0/20,1、为子接口f0/1.1分配IP并启用Red-Giant(config)#interface fastethernet 0/1.1Red-Giant(config-subif)#encapsulation dot1q 10 Red-Giant(config-subif)#ip address 192.168.1.1 255.255.255.0Red-G
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- VLAN间相互通信 VLAN 相互 通信 PPT 课件
![提示](https://www.31ppt.com/images/bang_tan.gif)
链接地址:https://www.31ppt.com/p-1377721.html