当前位置:网站首页>VPP三层网络互联配置
VPP三层网络互联配置
2022-07-03 09:56:00 【redwingz】
如下L3XC插件功能测试拓扑:
|--------------| |--------------| |--------------|
| | | | | |
| PC1 |-----------| VPP |----------| PC2 |
| | | | | |
|--------------| |--------------| |--------------|
11.1.2.2 11.1.1.1 12.1.1.1 12.1.1.100
TG3/0/0 TG3/0/1
VPP版本
vpp# show version
vpp v21.10.1-release built by root on 4f6ead0c141f at 2021-11-17T14:25:30
设置VPP接口地址:
vpp# set interface state TenGigabitEthernet3/0/0 up
vpp# set interface state TenGigabitEthernet3/0/1 up
vpp#
vpp# set interface ip address TenGigabitEthernet3/0/0 11.1.1.1/16
vpp# set interface ip address TenGigabitEthernet3/0/1 12.1.1.1/16
设置l3xc,由TG3/0/0进来的流量,转发到TG3/0/1接口的网关地址12.1.1.100;反之,由TG3/0/1进来的流量转发到TG3/0/0接口的网关地址11.1.2.2。如下:
vpp# l3xc add ip4 TenGigabitEthernet3/0/0 via 12.1.1.100 TenGigabitEthernet3/0/1
vpp#
vpp# l3xc add ip4 TenGigabitEthernet3/0/1 via 11.1.2.2 TenGigabitEthernet3/0/0
显示l3xc配置信息:
vpp# show l3xc
l3xc:[0]: TenGigabitEthernet3/0/0
path-list:[222] locks:1 flags:shared,no-uRPF, uPRF-list:103 len:1 itfs:[2, ]
path:[226] pl-index:222 ip4 weight=1 pref=0 attached-nexthop: oper-flags:resolved,
12.1.1.100 TenGigabitEthernet3/0/1
[@0]: ipv4 via 12.1.1.100 TenGigabitEthernet3/0/1: mtu:9000 next:4 flags:[] 6891d06265230060e07a6c790800
[@1]: dpo-load-balance: [proto:ip4 index:219 buckets:1 uRPF:-1 to:[0:0]]
[0] [@5]: ipv4 via 12.1.1.100 TenGigabitEthernet3/0/1: mtu:9000 next:4 flags:[] 6891d06265230060e07a6c790800
l3xc:[1]: TenGigabitEthernet3/0/1
path-list:[223] locks:1 flags:shared,no-uRPF, uRPF-list: None
path:[227] pl-index:223 ip4 weight=1 pref=0 attached-nexthop: oper-flags:resolved,
11.1.2.2 TenGigabitEthernet3/0/0
[@0]: ipv4 via 11.1.2.2 TenGigabitEthernet3/0/0: mtu:9000 next:3 flags:[] 6891d06265220060e07a6c780800
[@1]: dpo-load-balance: [proto:ip4 index:220 buckets:1 uRPF:-1 to:[0:0]]
[0] [@5]: ipv4 via 11.1.2.2 TenGigabitEthernet3/0/0: mtu:9000 next:3 flags:[] 6891d06265220060e07a6c780800
PC1与PC2之间流量可通。
边栏推荐
- Snownlp emotion analysis
- ConstraintLayout跟RelativeLayout嵌套出现的莫名奇妙的问题
- Use ml.net+onnx pre training model to liven the classic "Huaqiang buys melons" in station B
- 做软件测试三年,薪资不到20K,今天,我提出了辞职…
- ExecutorException: Statement returned more than one row, where no more than one was expected.
- Lecture 1 number field
- Oracle收回权限 & 创建角色
- Basic usage of sqlmap
- Encapsulation attempt of network request framework of retro + kotlin + MVVM
- 11. Provider service registration of Nacos service registration source code analysis
猜你喜欢
Hal - General
I, a tester from a large factory, went to a state-owned enterprise with a 50% pay cut. I regret it
你真的需要自动化测试吗?
Encapsulation attempt of network request framework of retro + kotlin + MVVM
在职美团测试工程师的这八年,我是如何成长的,愿技术人看完都有收获
Qt:qss custom qpprogressbar instance
《通信软件开发与应用》
Solution: jupyter notebook does not pop up the default browser
17K薪资要什么水平?来看看95后测试工程师的面试全过程…
8年测试总监的行业思考,看完后测试思维认知更深刻
随机推荐
I, a tester from a large factory, went to a state-owned enterprise with a 50% pay cut. I regret it
数据库增量备份 - DB INCR DB FULL
Test what the leader should do
Solution: jupyter notebook does not pop up the default browser
图解网络:什么是虚拟路由器冗余协议 VRRP?
QT: QSS custom qtabwidget and qtabbar instances
【蓝桥杯选拔赛真题44】Scratch消灭骷髅军团 少儿编程scratch蓝桥杯选拔赛真题讲解
嵌入式软件测试怎么实现自动化测试?
Hard goods | write all the codes as soon as you change the test steps? Why not try yaml to realize data-driven?
File upload and download test point
项目管理精华读书笔记(六)
浅析-JMM内存模型
glassfish org. h2.server. Shutdownhandler classnotfoundexception exception exception handling
What are the strengths of "testers"?
Qt:qss custom qmenubar instance
(二)进制
今晚要修稿子準備發佈。但是,仍卡在這裡,也許你需要的是一個段子。
Using activity to realize a simple inputable dialog box
Google Earth Engine(GEE)——当我们前后影像来弥补插值效果得时候,没有效果怎么办?
Multiple IO transfer - preamble