CentOS 6.7 IP配置

2024-10-11 20:24:40

1、以root用户登录系统

CentOS 6.7 IP配置

3、在终端窗口输入‘ifconfig’,查看系统网卡激活情况,小编这边已经激活的网卡使用eth0.如未出现可输入‘ifconfig -a’查看全部网卡情况,根据显示网卡激活所需要的网卡,可以输入‘ifconfig 网卡名 up’进行激活

CentOS 6.7 IP配置

5、输入‘service network restart’来重启网卡服务使IP生效

CentOS 6.7 IP配置
猜你喜欢