###ping

ping 检测网络是否畅通
ping -c1 ping一次
ping -w1 ping时等待一秒
ping -c1 -w1 ping一次等待一秒

网络设定工具
###ifconfig

ifconfig 查看或设定网络接口
ifconfig eth0 查看eth0
ifconfig eth0 ip/24 设定eth0的ip
ifconfig eth0 down 关闭eth0
ifconfig eth0 up 开启eth0

网络设定工具
网络设定工具
网络设定工具
###ip addr

ip addr 检测或设定网络接口
ip addr show 检测网络接口
ip addr add ip/24 dev eth0 添加eth0的ip
ip addr del ip/24 dev eth0 删除eth0的ip
ip addr flush eth0 清空eth0的ip原始信息

网络设定工具
网络设定工具

网络设定工具
更改ip步骤:
网络设定工具

相关文章:

  • 2021-10-31
  • 2021-05-13
  • 2021-12-09
  • 2021-12-19
猜你喜欢
  • 2022-12-23
  • 2021-10-09
  • 2023-03-03
  • 2021-05-22
  • 2021-12-06
  • 2021-11-20
  • 2022-02-09
相关资源
相似解决方案