Skip to content
Eternal Center

Eternal Center

  • System (系统)
  • Services (服务)
  • Databases (数据库)
  • Clusters (集群)
  • Big Data (大数据)
  • Cloud Computing (云计算)
  • Languages (语言)
  • Project (项目)
  • Writings (写作)
  • Eternity (永恒)
  • News (消息)
  • Chronicle (编年史)
  • Words (言)
Posted on 31/07/202126/12/2021 by Mingyu Zhu

[命令] Linux 命令 ifconfig (管理网卡)

内容一:查看所有网卡

# ifconfig -a

内容二:临时添加 IP 地址

# ifconfig eth0 192.168.1.1/24
(补充:这里以临时给名为 eth0 的网卡添加 192.168.1.1/24 IP 地址为例)
CategoriesChinese (中文), System (系统), System Network (系统网络), System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)

Post navigation

Previous PostPrevious [步骤] Linux 全局加密 SSL 的设置 (CentOS 8 & RHEL 8 版)
Next PostNext [步骤] nftables 防火墙的使用 (临时版)

Aspiration (愿景):

Everyone can achieve self achievement and self happiness fairly

每个人都能公平地实现自我成就和自我幸福

Position (位置):

Running on Evolution Host and DigitalOcean

正在 Evolution Host 和 DigitalOcean 上运行

Logo (徽标):

Additional Information (其他信息):

About Manual Clone Contact Disclaimer Donation Friendly Links 关于 说明书 克隆 联系 免责申明 捐赠 友情链接

Standby IP Address (备用 IP 地址):

152.69.204.95  150.230.63.10  Please configure before use / 请先配置再使用

Search Outside Website (站外搜索):

Google Wikipedia Bing
Proudly powered by LNMP Proudly powered by WordPress