相关疑难解决方法(0)

我应该停止使用 Ifconfig 吗?

对于挂载 Infiniband 卡的服务器,当我使用该ifconfig命令时,我收到以下警告:

Ifconfig uses the ioctl access method to get the full address 
information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes 
are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
Run Code Online (Sandbox Code Playgroud)

我应该停止使用ifconfig吗?它是否已被弃用以支持该ip命令?还是会在近期更新?

注意:这个问题和答案是关于GNU/Linux 的“主要”发行版的。不应假定该信息适用于所有发行版,尤其不适用于其他操作系统。

networking linux ifconfig iproute2

185
推荐指数
4
解决办法
7万
查看次数

Linux 网络 - “ip X”而不是 ifconfig/route/etc?

我习惯在linux上使用诸如ifconfigroute等等命令来检查和更改网络信息。但是我知道有一个ip命令(带有各种子命令)。我现在在某处听说这是“正确的方法”。我应该放弃 ifconfig/route/etc 的任何特殊原因?你的偏好是什么?有没有一组可以做而其他组不能做的事情?

networking linux

14
推荐指数
2
解决办法
2686
查看次数

标签 统计

linux ×2

networking ×2

ifconfig ×1

iproute2 ×1