进入 vi /etc/sysconfig/network-scripts/ifcfg-eth0

 root # ifconfig eth0 192.168.22.232
root # route add default gw 192.168.22.1
打root # echo nameserver 192.168.22.1 > /etc/resolv.conf

 

相关文章:

  • 2021-09-04
  • 2021-12-04
  • 2021-04-07
  • 2021-05-22
  • 2021-10-20
  • 2021-05-29
  • 2021-07-02
猜你喜欢
  • 2021-12-04
  • 2021-12-04
  • 2021-12-04
  • 2021-09-28
  • 2022-01-22
  • 2021-12-04
  • 2022-01-07
相关资源
相似解决方案