当前位置:网站首页>Huawei router clock near the drainage experiment (using stream strategy)
Huawei router clock near the drainage experiment (using stream strategy)
2022-08-10 21:26:00 【Lay Master Wen Tao】
Router bypass experiment.
The purpose of the experiment, as shown in the figure, this experiment needs to draw the traffic from the address 10.1.2.1 to the side-mounted AR1 device when accessing two PCs, and then the AR1 device will be injected back to the AR3equipment.
The method of drainage can be used flexibly according to the specific environment. This experiment adopts the method of flow strategy.
Specific configuration:
AR1:
interface GigabitEthernet0/0/0ip address 10.1.2.1 255.255.255.0ip route-static 0.0.0.0 10.1.2.2AR2:
interface GigabitEthernet0/0/0ip address 10.1.10.1 255.255.255.0ip route-static 10.1.1.0 24 10.1.10.2ip route-static 10.2.1.0 24 10.1.10.2It is also possible to use a default route for the connected device.AR2:
traffic classifier c1 operator or Create a traffic classifier to match traffic characteristics.The or guess here should be similar to the OR operation in programming, which is used to specify how to match the flow classification.(corrections are welcome)if-match anytraffic behavior b1 Creates a flow behavior that changes the direction of data flow.redirect ip-nexthop 10.1.10.1traffic policy p1 Creates a traffic policy and associates the created traffic classification with traffic behavior.classifier c1 behavior b1interface GigabitEthernet0/0/0ip address 10.1.2.2 255.255.255.0traffic-policy p1 inbound Finally, you need to apply this policy to the interface, paying attention to the direction.AR2 device address planning is as follows
Finally, twoThe address and gateway are configured on a PC and it is OK.
Verification:
Use the device of 10.1.2.1 to ping two PCs, and perform packet capture verification on the interface of the connected device.

It can be seen that the drainage strategy is successful, and the device is attachedThe packet was successfully captured on the interface.
When the packet is returned, the data does not pass through the bypass device.If you want the return packet to also pass through the side-connected device, you should also need a flow strategy.
边栏推荐
- ACM模板笔记:最长不下降/上升子序列
- Kubernetes 笔记 / 入门 / 生产环境 / 用部署工具安装 Kubernetes / 用 kubeadm 启动集群 / 用 kubeadm 创建集群
- 基于Pix4Dmapper的空间三维模型重建应用——空间分析选址
- 带你一文读懂SaaS版多租户商城系统对多品牌企业的应用价值
- 流程控制结构——《mysql 从入门到内卷再到入土》
- 参天生长大模型:昇腾AI如何强壮模型开发与创新之根?
- 【Windows】你不能访问此共享文件夹,因为你组织的安全策略阻止未经身份验证的来宾访问,这些策略可帮助保护你的电脑
- Kubernetes Notes / Getting Started / Production Environment / Installing Kubernetes with Deployment Tools / Starting a Cluster with kubeadm / Creating a Cluster with kubeadm
- Web3中值得关注的基础设施
- How to submit a PR?【OpenHarmony Growth Plan】【OpenHarmony Open Source Community】
猜你喜欢

一次由groovy引起的fullGC问题排查

优化是一种习惯●出发点是'站在靠近临界'的地方

LeetCode-402-移掉K位数字

TCL:事务的特点,语法,测试例——《mysql 从入门到内卷再到入土》

带你一文读懂SaaS版多租户商城系统对多品牌企业的应用价值

化学制品制造业数智化供应链管理系统:建立端到端供应链采购一体化平台

npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.

Rider调试ASP.NET Core时报thread not gc-safe的解决方法

ansible各个模块的详解和使用

leetcode:45. 跳跃游戏II
随机推荐
每次打开chrome会跳出What's new
如何提交一个PR?【OpenHarmony成长计划】【OpenHarmony开源社区】
npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.
石油化工行业商业供应链管理系统:标准化供应商管理,优化企业供应链采购流程
[mysql] 深入分析MySQL版本控制MVCC规则
mysql性能监控与执行计划
kuberentes Auditing 入门
ACM模板笔记:八数码问题——使用BFS+康托展开打表解决
直播课堂系统08补-腾讯云对象存储和课程分类管理
mysql服务器参数设置
找的笔试题的复盘(一)
ENVI最小距离、最大似然、支持向量机遥感影像分类
B. Codeforces Subsequences
shell小技巧(一百三十五)打包指定目录下所用文件,每个文件单独打包
优化是一种习惯●出发点是'站在靠近临界'的地方
apr_thread使用内存之谜
查询:复杂查询的语法和使用例——《mysql 从入门到内卷再到入土》
labelme-5.0.1版本编辑多边形闪退
paddle 35 paddledetection保存训练过程中的log信息
LeetCode-402-移掉K位数字