惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
N
News and Events Feed by Topic
P
Privacy International News Feed
The Hacker News
The Hacker News
Schneier on Security
Schneier on Security
C
Cybersecurity and Infrastructure Security Agency CISA
Security Latest
Security Latest
L
LINUX DO - 最新话题
阮一峰的网络日志
阮一峰的网络日志
Cisco Talos Blog
Cisco Talos Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
The Cloudflare Blog
博客园 - 【当耐特】
博客园 - Franky
P
Privacy & Cybersecurity Law Blog
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
月光博客
月光博客
D
Docker
Webroot Blog
Webroot Blog
The GitHub Blog
The GitHub Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
W
WeLiveSecurity
S
Security Affairs
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Security Archives - TechRepublic
Security Archives - TechRepublic
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
B
Blog
L
Lohrmann on Cybersecurity
T
Threatpost
量子位
S
Schneier on Security
V
Visual Studio Blog
S
Securelist
T
The Exploit Database - CXSecurity.com
Scott Helme
Scott Helme
V
Vulnerabilities – Threatpost
aimingoo的专栏
aimingoo的专栏
The Register - Security
The Register - Security
I
Intezer
Stack Overflow Blog
Stack Overflow Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 聂微东
小众软件
小众软件
罗磊的独立博客
雷峰网
雷峰网
Recorded Future
Recorded Future

噜啦 - 网络

网络管理和配置文件 - 噜啦 网络故障排除命令 - 噜啦
ifconfig 网络管理 - 噜啦
博主: 噜啦 · 2020-02-14 · via 噜啦 - 网络

ifconfig

  • etho第一块网卡(网络接口)
  • 你的第一个网络接口可能叫做下面的名字
  1. eno1板载网卡
  2. ens33 PCI-E网卡
  3. enp0S3 无法获取物理信息的PCI-E网卡
  4. Centos7使用了一致性网络设备命名,以上都不匹配则使用eth0

网络接口命名修改

网卡命名规则受 biosdevnamenet iframes两个参数影响

编辑/etc/ default/grub文件,增加

biosdevname=0net. iframes=0

更新grub

grub2-mkconfig -o /boot/grub2/grub.cfg

重启
reboot

biosdevnamenet.iframes网卡名
默认01ens33
组合210em1
组合200eth0

网络配置命令

ifconfig <接口> <IP地址> [netmask子网掩码>
ifup <接囗>
ifdown <接口>

赞赏作者

如果觉得我的文章对你有用,请随意赞赏