当前位置:网站首页>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之间流量可通。
边栏推荐
- Hal - General
- 使用onvif协议操作设备
- Cause: org. apache. ibatis. builder. Builderexception: error parsing SQL mapper configuration problem analysis
- BI技巧丨权限轴
- Qt:qss custom qradiobutton instance
- Unity移动端游戏性能优化简谱之 画面表现与GPU压力的权衡
- The normal one inch is 25.4 cm, and the image field is 16 cm
- Error installing the specified version of pilot
- 可以写进简历的软件测试电商项目,不进来get一下?
- 表空间创建管理及控制文件管理
猜你喜欢

封装一个koa分布式锁中间件来解决幂等或重复请求的问题

Hal - General

字节跳动大裁员,测试工程师差点遭团灭:大厂招人背后的套路,有多可怕?

Encapsulation attempt of network request framework of retro + kotlin + MVVM

Crawl with requests

Software testing redis database

Hard goods | write all the codes as soon as you change the test steps? Why not try yaml to realize data-driven?

I have been doing software testing for three years, and my salary is less than 20K. Today, I put forward my resignation

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

8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
随机推荐
What kind of living condition is a tester with a monthly salary of more than 10000?
Google Earth Engine(GEE)——GHSL 全球人口网格数据集250米分辨率
Qt:qss custom qheaderview instance
15 software testing Trends Worthy of attention
glassfish org. h2.server. Shutdownhandler classnotfoundexception exception exception handling
在职美团测试工程师的这八年,我是如何成长的,愿技术人看完都有收获
《通信软件开发与应用》
【蓝桥杯选拔赛真题44】Scratch消灭骷髅军团 少儿编程scratch蓝桥杯选拔赛真题讲解
TypeScript学习总结
Hal -- writing hardware drivers
值得关注的15种软件测试趋势
First line of code kotlin notes
Internet Socket (非)阻塞write/read n个字节
搭建ADG后,实例2无法启动 ORA-29760: instance_number parameter not specified
如何成为一名高级数字 IC 设计工程师(1-4)Verilog 编码语法篇:表达式
独家分析 | 关于简历和面试的真 相
IIS does not take effect after modifying the configuration information
Expandablelistview that can expand and shrink (imitating the list page of professional selection of Zhilian recruitment)
What are the strengths of "testers"?
Probability theory: application of convolution in calculating moving average