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

推荐订阅源

Know Your Adversary
Know Your Adversary
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
罗磊的独立博客
宝玉的分享
宝玉的分享
Vercel News
Vercel News
Martin Fowler
Martin Fowler
N
Netflix TechBlog - Medium
P
Proofpoint News Feed
T
Threatpost
Security Latest
Security Latest
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
I
Intezer
P
Privacy International News Feed
D
Docker
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
M
MIT News - Artificial intelligence
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
Lohrmann on Cybersecurity
Google DeepMind News
Google DeepMind News
The Last Watchdog
The Last Watchdog
A
Arctic Wolf
IT之家
IT之家
S
SegmentFault 最新的问题
S
Securelist
博客园 - 叶小钗
N
News and Events Feed by Topic
F
Full Disclosure
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
Hacker News: Ask HN
Hacker News: Ask HN
博客园 - Franky
GbyAI
GbyAI
AI
AI
Y
Y Combinator Blog
WordPress大学
WordPress大学
Latest news
Latest news
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
N
News | PayPal Newsroom
The Cloudflare Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
I
InfoQ

噜啦 - Linux笔记本

du和ls查看文件大小不同的原因 - 噜啦 服务管理工具 systemctl - 噜啦 进程的控制与进程之间的关系 - 噜啦 ps 和 top 命令查看进程 - 噜啦 Grub 配置文件介绍以及忘记root密码的解决方法 - 噜啦 CentOS 手动升级/安装内核 - 噜啦 网络管理和配置文件 - 噜啦 网络故障排除命令 - 噜啦 route 查看路由 - 噜啦
ifconfig 网络管理 - 噜啦
博主: 噜啦 · 2020-02-14 · via 噜啦 - Linux笔记本

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 <接口>

赞赏作者

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