当前位置:网站首页>单臂路由实验演示(Huawei路由器设备配置)
单臂路由实验演示(Huawei路由器设备配置)
2022-07-25 18:36:00 【51CTO】
一、单臂路由概述
通过在路由器以太网接口上进行“子接口(逻辑接口)”的划分,实现原来相互隔离的不同VLAN之间的互联互通。
二、单臂路由的优缺点
优点:节省了路由器接口,实现了不同VLAN之间的通信。
缺点:子接口依托于物理接口,应用不灵活,容易成为网络单点故障。
三、实例配置
(1)拓扑

(2)SW1配置
<Huawei>system-view
[Huawei]sysname SW1
[SW1]vlan batch 10 20
[SW1]]int g0/0/1
[SW1-GigabitEthernet0/0/1] port link-type access
[SW1-GigabitEthernet0/0/1] port default vlan 10
[SW1-GigabitEthernet0/0/1] int g0/0/2
[SW1-GigabitEthernet0/0/2] port link-type access
[SW1-GigabitEthernet0/0/2]port default vlan 20
[SW1-GigabitEthernet0/0/2] int g0/0/3
[SW1-GigabitEthernet0/0/3] port link-type trunk
[SW1-GigabitEthernet0/0/3] port trunk allow-pass vlan 10 20
(3)R1配置
<Huawei>system-view
[Huawei]sysname SW1
[R1]int g0/0/0.10
[R1-GigabitEthernet0/0/0.10]dot1q termination vid 10
[R1-GigabitEthernet0/0/0.10]ip address 192.168.10.254 24
[R1-GigabitEthernet0/0/0.10]arp broadcast enable
[R1-GigabitEthernet0/0/0.10]int g0/0/0.20
[R1-GigabitEthernet0/0/0.20]dot1q termination vid 20
[R1-GigabitEthernet0/0/0.20]ip address 192.168.20.254 24
[R1-GigabitEthernet0/0/0.20]arp broadcast enable
(4)验证用PC1 ping PC2

边栏推荐
- vim基本操作命令
- There was an error while marking a file for deletion
- 柔性电流探头选型指南
- Visual model network connection
- Care for front-line epidemic prevention workers, Haocheng JIAYE and Gaomidian sub district office jointly build the great wall of public welfare
- 软件测试——常用的测试工具
- Uniapp scroll bar topping effect, customized page scroll bar position (sorting)
- 如何创建一个有效的帮助文档?
- [QNX hypervisor 2.2 user manual]9.4 dryrun
- CircleIndicator组件,使指示器风格更加多样化
猜你喜欢
随机推荐
Boomi won the "best CEO in diversity" and the "best company in career growth" and ranked among the top 50 in the large company category
Related operations of binary tree
Yes, UDP protocol can also be used to request DNS server
年轻时代,噢,年轻时代
String function and memory function (2)
电流探头在ECU、电气系统电流测量的应用
R language ggplot2 visual line, custom configuration title text related content color and legend color match (match colors of groups)
[web page performance optimization] what about the slow loading speed of the first screen of SPA (single page application)?
字符串函数和内存函数(二)
15. Simple salary management system design
通讯录(一)
vim基本操作命令
R language uses GT package and gtextras package to display tabular data beautifully: GT_ bar_ Plot function and GT_ plt_ bar_ PCT function visual percentage bar graph, percentage bar graph of original
ServletConfig class and ServletContext class
Disk performance and capacity
Save the image with gaussdb (for redis), and the recommended business can easily reduce the cost by 60%
Combined with GHS multi, use Reza E1 simulator to realize the simulation and debugging of Reza rh850 single chip microcomputer
Regex 正则表达式
3de 回复
pd.melt() vs reshape2::melt()








