当前位置:网站首页>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之间流量可通。
边栏推荐
- 行业唯一!法大大电子合同上榜36氪硬核科技企业
- AMS Series 1 - AMS startup process
- Solution: jupyter notebook does not pop up the default browser
- Snownlp emotion analysis
- ORACLE 11G 单机冷备数据库
- Oracle收回权限 & 创建角色
- Qt:qss custom qlistview instance
- Is pinduogai's sales safe in 2022?
- 图解网络:什么是虚拟路由器冗余协议 VRRP?
- 10. Nacos source code construction
猜你喜欢

After 8 years of industry thinking, the test director has a deeper understanding of test thinking

我对测试工作的一些认识(资深测试人员总结)

Communication software development and Application

A simple method of adding dividing lines in recyclerview

UI自动化测试如何走出困境?价值又如何体现?

封装一个koa分布式锁中间件来解决幂等或重复请求的问题
The normal one inch is 25.4 cm, and the image field is 16 cm

10. Nacos source code construction

The element form shows the relationship between elementary transformation and elementary matrix

栈,单调栈,队列,单调队列
随机推荐
Snownlp emotion analysis
[true question of the Blue Bridge Cup trials 44] scratch eliminate the skeleton Legion children programming explanation of the true question of the Blue Bridge Cup trials
Qt:qss custom qlineedit instance
Activity and fragment lifecycle
How did I grow up in the past eight years as a test engineer of meituan? I hope technicians can gain something after reading it
Lecture 1 number field
行业唯一!法大大电子合同上榜36氪硬核科技企业
值得关注的15种软件测试趋势
年中了,准备了少量的自动化面试题,欢迎来自测
Do you really need automated testing?
线性表顺序表综合应用题P18
File upload and download test point
Test what the leader should do
. Net core - a queuing system for wechat official account
文件上传下载测试点
ORACLE 11G 单机冷备数据库
Solve the problem that pycharm Chinese input method does not follow
如何让让别人畏惧你
BI技巧丨权限轴
Software testing e-commerce projects that can be written into your resume, don't you come in and get it?