当前位置:网站首页>VPP不能加载UP状态接口
VPP不能加载UP状态接口
2022-07-25 05:15:00 【redwingz】
如下Ubuntu 20.04环境。
# cat /etc/issue
Ubuntu 20.04.3 LTS \n \l
#
# uname -a
Linux blackbat 5.13.0-52-generic #59~20.04.1-Ubuntu SMP Thu Jun 16 21:21:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
安装完VPP之后,显示接口信息,如下仅有local0接口,没有任何物理接口。
vpp# show interface
Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count
local0 0 down 0/0/0/0
日志显示,由于接口处于UP状态,VPP跳过了UP状态接口。
# vppctl
vpp#
vpp# show logging
2022/07/08 11:06:44:584 warn pci Skipping PCI device 0000:03:00.0 as host interface ens1f0 is up
2022/07/08 11:06:44:584 warn pci Skipping PCI device 0000:03:00.1 as host interface ens1f1 is up
2022/07/08 11:06:44:585 warn pci Skipping PCI device 0000:03:00.2 as host interface ens1f2 is up
2022/07/08 11:06:44:585 warn pci Skipping PCI device 0000:03:00.3 as host interface ens1f3 is up
2022/07/08 11:06:44:585 warn pci Skipping PCI device 0000:05:00.0 as host interface ens5f0 is up
2022/07/08 11:06:44:586 warn pci Skipping PCI device 0000:05:00.1 as host interface ens5f1 is up
2022/07/08 11:06:44:586 warn pci Skipping PCI device 0000:05:00.2 as host interface ens5f2 is up
2022/07/08 11:06:44:586 warn pci Skipping PCI device 0000:05:00.3 as host interface ens5f3 is up
2022/07/08 11:06:44:586 warn pci Skipping PCI device 0000:06:00.0 as host interface enp6s0 is up
2022/07/08 11:06:44:587 warn pci Skipping PCI device 0000:07:00.0 as host interface enp7s0 is up
2022/07/08 11:06:44:587 warn pci Skipping PCI device 0000:08:00.0 as host interface enp8s0 is up
2022/07/08 11:06:44:587 warn pci Skipping PCI device 0000:09:00.0 as host interface enp9s0 is up
2022/07/08 11:06:44:588 warn pci Skipping PCI device 0000:0a:00.0 as host interface enp10s0 is up
2022/07/08 11:06:44:588 warn pci Skipping PCI device 0000:0b:00.0 as host interface enp11s0 is up
2022/07/08 11:06:44:589 warn pci Skipping PCI device 0000:0c:00.0 as host interface enp12s0 is up
2022/07/08 11:06:44:589 warn pci Skipping PCI device 0000:0d:00.0 as host interface enp13s0 is up
使用nmcli查看网络配置,如下。
# nmcli networking
enabled
#
# nmcli device
DEVICE TYPE STATE CONNECTION
enp6s0 ethernet connected Wired connection 5
enp10s0 ethernet unavailable --
enp11s0 ethernet unavailable --
enp12s0 ethernet unavailable --
enp13s0 ethernet unavailable --
enp7s0 ethernet unavailable --
enp8s0 ethernet unavailable --
enp9s0 ethernet unavailable --
ens1f0 ethernet unavailable --
ens1f1 ethernet unavailable --
ens1f2 ethernet unavailable --
ens1f3 ethernet unavailable --
ens5f0 ethernet unavailable --
ens5f1 ethernet unavailable --
ens5f2 ethernet unavailable --
ens5f3 ethernet unavailable --
lo loopback unmanaged --
关闭networking,注意这里时使用的root用户。
# nmcli networking off
#
# nmcli networking
disabled
现在网络接口的状态变成了非管理状态,如下。
$ nmcli device
DEVICE TYPE STATE CONNECTION
enp10s0 ethernet unmanaged --
enp11s0 ethernet unmanaged --
enp12s0 ethernet unmanaged --
enp13s0 ethernet unmanaged --
enp6s0 ethernet unmanaged --
enp7s0 ethernet unmanaged --
enp8s0 ethernet unmanaged --
enp9s0 ethernet unmanaged --
ens1f0 ethernet unmanaged --
ens1f1 ethernet unmanaged --
ens1f2 ethernet unmanaged --
ens1f3 ethernet unmanaged --
ens5f0 ethernet unmanaged --
ens5f1 ethernet unmanaged --
ens5f2 ethernet unmanaged --
ens5f3 ethernet unmanaged --
lo loopback unmanaged --
重启设备,现在VPP加载上了所有的接口:
vpp# show interface
Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count
GigabitEthernet3/0/0 1 down 9000/0/0/0
GigabitEthernet3/0/1 2 down 9000/0/0/0
GigabitEthernet3/0/2 3 down 9000/0/0/0
GigabitEthernet3/0/3 4 down 9000/0/0/0
GigabitEthernet5/0/0 5 down 9000/0/0/0
GigabitEthernet5/0/1 6 down 9000/0/0/0
GigabitEthernet5/0/2 7 down 9000/0/0/0
GigabitEthernet5/0/3 8 down 9000/0/0/0
GigabitEthernet6/0/0 9 down 9000/0/0/0
GigabitEthernet7/0/0 10 down 9000/0/0/0
GigabitEthernet8/0/0 11 down 9000/0/0/0
GigabitEthernet9/0/0 12 down 9000/0/0/0
GigabitEtherneta/0/0 13 down 9000/0/0/0
GigabitEthernetb/0/0 14 down 9000/0/0/0
GigabitEthernetc/0/0 15 down 9000/0/0/0
GigabitEthernetd/0/0 16 down 9000/0/0/0
local0 0 down 0/0/0/0
边栏推荐
- ES6 -- Methods and extensions of array objects, traversal of arrays, and extension methods of strings
- STL notes (VI): container vector
- 如何判断是否遭到DDOS攻击
- Sword finger offer II 012. the sum of the left and right subarrays is equal
- Delivery practice of private PAAS platform based on cloud native
- 教你三招从让性能从20s优化到500ms
- 项目管理工具——阿里云Projex介绍与实战
- [wechat applet] label (86/100)
- 微信小程序相关操作示例
- deep报错
猜你喜欢

JS common code questions array de duplication - Custom New throttling and anti shake - deep copy - instanceof URL parameter extraction - thousand separator - array to tree structure - array flattening

ping命令

Introduction to kubernetes

Ora-01460: conversion request cannot be implemented or unreasonable

Redis cluster setup (Windows)

Solve the problem that uni app applet obtains routes and route parameters

Redis集群搭建(Windows)

2022-7-13 summary

Dragon Dragon community released the first Anolis OS Security Guide to escort users' business systems

2022-7-18 summary
随机推荐
Valley p2420 let's XOR solution
This low code reporting tool is needed for data analysis
Blog Description & message board
1310_ Implementation analysis of a printf
Leetcode55. Jumping game
Go language function
Learn to use PHP to get the URL address link after resetting
Harbor installation
Why does the official not recommend using UUID as MySQL primary key
Teach you three ways to optimize the performance from 20s to 500ms
Solve the problem that uni app applet obtains routes and route parameters
[wechat applet] label (86/100)
Getting started with scratch
Small case of data analysis: visualize recruitment data and view the most needed technologies in the field~
Androd releases jitpack open source project (gradle7.2)
项目管理工具——阿里云Projex介绍与实战
龙蜥社区发布首个 Anolis OS 安全指南 为用户业务系统保驾护航
Document collaboration tool recommendation
Browser cache HTTP cache CDN cache localstorage / sessionstorage / cookies
Uniapp custom application exit execution content