vim /etc/network/interfaces

 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto eth0
 iface eth0 inet static
 address 200.200.137.173
 netmask 255.255.252.0
 gateway 200.200.136.80
 dns-nameservers 8.8.8.8 2.2.2.2

 

sudo service networking restart

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
  • 2021-10-12
  • 2022-02-17
  • 2021-11-29
  • 2021-11-25
  • 2021-06-27
猜你喜欢
  • 2021-09-23
  • 2021-05-07
  • 2022-01-22
  • 2022-01-17
  • 2022-01-04
相关资源
相似解决方案