rookie404

vi /etc/sysconfig/network-script/ifcfg-eth0

DEVICE=eth0
HWADDR=00:0C:29:C8:14:97
TYPE=Ethernet
UUID=85fe6935-3a3e-490c-8011-355804b1623e
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.2.187
NETMASK=255.255.255.0
GATEWAY=192.168.2.1
DNS1=8.8.8.8
DNS2=114.114.114
USERCLT=yes
ARPCHECK=no

设置好保存. /etc/sysconfig/network-script/ifcfg-eth

重启 service network restart

分类:

技术点:

相关文章:

  • 2021-11-19
  • 2021-08-31
  • 2021-12-28
  • 2022-01-08
  • 2021-10-25
  • 2021-11-21
  • 2021-04-09
  • 2021-11-19
猜你喜欢
  • 2021-11-25
  • 2021-11-05
  • 2021-09-23
  • 2021-04-01
  • 2022-12-23
  • 2021-12-12
  • 2021-11-29
相关资源
相似解决方案