当前位置:网站首页>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之间流量可通。
边栏推荐
- Summary of the history of Mathematics
- Software testing (test case) writing: vulgar, native and skillful
- File upload and download test point
- Qt:qss custom qmenu instance
- 8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
- Qt:qss custom qlistview instance
- Solution: jupyter notebook does not pop up the default browser
- 嵌入式软件测试怎么实现自动化测试?
- 今晚要修稿子準備發佈。但是,仍卡在這裡,也許你需要的是一個段子。
- 在职美团测试工程师的这八年,我是如何成长的,愿技术人看完都有收获
猜你喜欢

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

How can UI automated testing get out of trouble? How to embody the value?

. Net core - a queuing system for wechat official account

英特尔13代酷睿旗舰曝光,单核5.5GHz

What kind of living condition is a tester with a monthly salary of more than 10000?

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

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

Crawl with requests

嵌入式軟件測試怎麼實現自動化測試?

redis那些事儿
随机推荐
解决undefined reference to `__aeabi_uidivmod‘和undefined reference to `__aeabi_uidiv‘错误
12. Nacos server service registration of source code analysis of Nacos service registration
What experience is there only one test in the company? Listen to what they say
IIS修改配置信息后不生效
【obs】封装obs实现采集的基础流程
字节跳动大裁员,测试工程师差点遭团灭:大厂招人背后的套路,有多可怕?
AIDL
Lecture 1 number field
读书笔记:《心若菩提》 曹德旺
Qt:qss custom qscrollbar instance
Software testing e-commerce projects that can be written into your resume, don't you come in and get it?
The testing department of the company came to the king of the Post-00 roll, and the veteran exclaimed that it was really dry, but
【obs】obs的ini格式的ConfigFile
glassfish org. h2.server. Shutdownhandler classnotfoundexception exception exception handling
触摸与屏幕自动旋转调试
大厂技术专家:工程师如何提升沟通能力?
2. Hal hardware abstraction layer
Logstash backup tracks the data records reported
Basic usage of sqlmap
Have you learned the new technology to improve sales in 2021?