首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
CentOS 配置网卡IP地址
CentOS 配置网卡IP地址
mac
2025-07-30
2
CentOS 配置网卡IP地址
命令1:
ifconf [eth] [ip_addr] netmask [mask]
例如:
ifconf eth0 192.168.1.2 netmask 255.255.255.0
命令2:
ip addr add/del [ip_addr] /[netmask] dev [eth]
例如:
ip addr add 192.168.1.2/24 dev eth0
转载请注明原文地址: https://mac.8miu.com/read-505186.html
最新回复
(
0
)