当前位置:网站首页>[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,今天内容就结束了,大家可以实验一下,很简单。
边栏推荐
- Gbase 8C function / stored procedure definition
- Socket programming
- [Yu Yue education] China Ocean University job search OMG reference
- My creation anniversary
- COM和CN
- Gbase 8C system table PG_ authid
- QT qcombobox add qccheckbox (drop-down list box insert check box, including source code + comments)
- Trial setup and use of idea GoLand development tool
- Awk from introduction to earth (0) overview of awk
- GBase 8c 触发器(一)
猜你喜欢

详细些介绍如何通过MQTT协议和华为云物联网进行通信

Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)

What are MySQL locks and classifications

Deep learning notes (constantly updating...)

Stm32f407 ------- IIC communication protocol

RestCloud ETL 跨库数据聚合运算

Pytorch convolution network regularization dropblock

Producer consumer model based on thread pool (including blocking queue)

Return a tree structure data

通达OA 首页门户工作台
随机推荐
4. Classes and objects
GBase 8c系统表-pg_am
GBase 8c系统表-pg_amop
Javescript 0.1 + 0.2 = = 0.3 problem
SPI机制
我的创作纪念日
Gbase 8C system table PG_ authid
CFdiv2-Fixed Point Guessing-(區間答案二分)
GBase 8c系统表-pg_class
Unrecognized SSL message, plaintext connection?
GBase 8c系统表pg_database
Su Shimin: 25 principles of work and life
Gbase 8C function / stored procedure parameters (II)
Awk from getting started to being buried (2) understand the built-in variables and the use of variables in awk
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)
【教程】chrome關閉跨域策略cors、samesite,跨域帶上cookie
Recommendation letter of "listing situation" -- courage is the most valuable
Gbase 8C system table PG_ attribute
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
Qt之QComboBox添加QCheckBox(下拉列表框插入复选框,含源码+注释)