当前位置:网站首页>[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,今天内容就结束了,大家可以实验一下,很简单。
边栏推荐
- 简单理解svg
- Machine learning process and method
- [codeforces] cf1338a - Powered addition [binary]
- GBase 8c系统表-pg_amop
- Awk from getting started to being buried (2) understand the built-in variables and the use of variables in awk
- GBase 8c系统表-pg_constraint
- PyTorch 卷积网络正则化 DropBlock
- Gbase 8C function / stored procedure definition
- stm32F407-------DMA
- Cvpr2022 remove rain and fog
猜你喜欢

详细些介绍如何通过MQTT协议和华为云物联网进行通信
![[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)

Solution for processing overtime orders (Overtime unpaid)

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

Job object of collaboration in kotlin

MySQL learning 03

Coroutinecontext in kotlin

How do it students find short-term internships? Which is better, short-term internship or long-term internship?
![[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)](/img/66/0fda43da0d36fc0c9277ca86ece252.jpg)
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)

8 free, HD, copyright free video material download websites are recommended
随机推荐
Create + register sub apps_ Define routes, global routes and sub routes
Awk from getting started to getting into the ground (3) the built-in functions printf and print of awk realize formatted printing
微服务组件Sentinel (Hystrix)详细分析
easyExcel
GBase 8c 触发器(一)
Unrecognized SSL message, plaintext connection?
通达OA v12流程中心
Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???
Stm32f407 ------- IIC communication protocol
GBase 8c 函数/存储过程参数(一)
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
Trial setup and use of idea GoLand development tool
Solution for processing overtime orders (Overtime unpaid)
How to find summer technical internship in junior year? Are you looking for a large company or a small company for technical internship?
各国Web3现状与未来
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信
PyTorch 卷积网络正则化 DropBlock
Gbase 8C function / stored procedure definition
GBase 8c系统表-pg_auth_members