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

推荐订阅源

T
The Blog of Author Tim Ferriss
S
Securelist
D
Docker
The Register - Security
The Register - Security
GbyAI
GbyAI
Recorded Future
Recorded Future
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
罗磊的独立博客
博客园 - 【当耐特】
F
Full Disclosure
WordPress大学
WordPress大学
腾讯CDC
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
SecWiki News
SecWiki News
L
Lohrmann on Cybersecurity
I
InfoQ
MyScale Blog
MyScale Blog
量子位
Cyberwarzone
Cyberwarzone
博客园 - 三生石上(FineUI控件)
The Hacker News
The Hacker News
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
博客园_首页
H
Help Net Security
K
Kaspersky official blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Webroot Blog
Webroot Blog
Blog — PlanetScale
Blog — PlanetScale
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
The Cloudflare Blog
P
Proofpoint News Feed
V
Visual Studio Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tailwind CSS Blog
爱范儿
爱范儿
P
Privacy International News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
B
Blog RSS Feed

噜啦 - 网络

网络管理和配置文件 - 噜啦 网络故障排除命令 - 噜啦
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 <接口>

赞赏作者

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