centos修改ip地址的方法经验
1.修改网卡命令
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Centos修改ip地址的方法经验DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=103.91.211.253
NETMASK=255.255.255.128
GATEWAY=103.91.211.129
DNS1=114.114.114.114
修改完成后退出
ESC
:wq!
回车
Centos修改ip地址的方法经验
重启网卡
service network restart
Centos修改ip地址的方法经验

相关文章:

  • 2022-01-07
  • 2022-01-07
  • 2021-09-19
  • 2021-06-17
  • 2021-12-01
  • 2021-12-28
  • 2021-07-26
  • 2022-01-07
猜你喜欢
  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2021-11-04
  • 2022-03-01
相关资源
相似解决方案