cd /etc/sysconfig/network-scripts
vi ifcfg-xxxxxxx
HWADDR="FF:FF:FF:FF:FF"
BOOTPROTO="static"
onboot="yes"
IPADDR=
NETMASK=
GATEWAY=
DNS1=
DNS2=114.114.114.114
service network restart
done
时间: 2024-11-05 04:51:29
cd /etc/sysconfig/network-scripts
vi ifcfg-xxxxxxx
HWADDR="FF:FF:FF:FF:FF"
BOOTPROTO="static"
onboot="yes"
IPADDR=
NETMASK=
GATEWAY=
DNS1=
DNS2=114.114.114.114
service network restart
done