当前位置:网站首页>[Hcia]No.15 Vlan间通信
[Hcia]No.15 Vlan间通信
2022-07-03 02:23:00 【数通那点事】
目录
Vlan间通信方式:
在实际工作中,我们经常需要将不同Vlan实现通联,主要采用的方式可以有:
多臂路由:由路由器多个接口提供VLAN间通信的方案,原理和路由基础相同。

单臂路由:相对于多臂路由方案可以节省路由器接口;但是,单臂路由随着VLAN数量的增加,链路的带宽压力也会加大。

三层交换:通过三层交换机的Vlanif接口实现了三层数据通信;相比单臂路由方案,三层交换更具有扩展性,即使VLAN增加也不会对其性能造成很大影响。

Vlan间通信的具体配置:
1.多臂路由。

(1)在交换机上,首先创建Vlan10和Vlan20,然后将G2,G3配置成access模式,G0,G4配置成access或trunk均可。
(2)在路由器上,配置各个网关的IP。
2.单臂路由。

(1)交换机上,创建好Vlan10和20后,将连接PC的接口配置access模式,连接路由的接口配置trunk模式。
(2)路由器接口配置如下:

3.三层交换。

交换机接口配置如上,这里需要在交换机上建立三层接口Vlanif,用这个三层接口充当Vlan网段的网关。具体配置和配置接口IP地址一样。

OK,今天内容就结束了,大家可以实验一下,很简单。
边栏推荐
- How to find summer technical internship in junior year? Are you looking for a large company or a small company for technical internship?
- Apple releases MacOS 11.6.4 update: mainly security fixes
- Compréhension simple de SVG
- Memory pool (understand the process of new developing space from the perspective of kernel)
- 【教程】chrome关闭跨域策略cors、samesite,跨域带上cookie
- Socket programming
- easyExcel
- Cfdiv2 Fixed Point Guessing - (2 points for Interval answer)
- iptables 4层转发
- Unrecognized SSL message, plaintext connection?
猜你喜欢
![[shutter] pull the navigation bar sideways (drawer component | pageview component)](/img/6f/dfc9dae5f890125d0cebdb2a0f4638.gif)
[shutter] pull the navigation bar sideways (drawer component | pageview component)

基于线程池的生产者消费者模型(含阻塞队列)

easyPOI

面试项目技术栈总结
![[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)](/img/41/2413af283e8f1db5d20ea845527175.gif)
[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)

4. 类和对象

《上市风云》荐书——唯勇气最可贵

内存池(内核角度理解new开辟空间的过程)

SPI mechanism

Job object of collaboration in kotlin
随机推荐
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor
创建+注册 子应用_定义路由,全局路由与子路由
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
leetcode961. Find the elements repeated N times in the array with length 2n
Thread safe singleton mode
Javescript 0.1 + 0.2 = = 0.3 problem
awk从入门到入土(3)awk内置函数printf和print实现格式化打印
GBase 8c 函数/存储过程参数(一)
Kotlin middle process understanding and Practice (I)
require.context
How to find summer technical internship in junior year? Are you looking for a large company or a small company for technical internship?
我的创作纪念日
The data in servlet is transferred to JSP page, and the problem cannot be displayed using El expression ${}
线程安全的单例模式
Detailed analysis of micro service component sentinel (hystrix)
RestCloud ETL 跨库数据聚合运算
GBase 8c 触发器(一)
How to deal with cache hot key in redis
Cfdiv2 Fixed Point Guessing - (2 points for Interval answer)
easyPOI