zoukankan      html  css  js  c++  java
  • 清楚arp

    转载:http://wscyza.blog.51cto.com/898495/728717/
    linux系统下清空arp 缓存(清空arp表)方法
     
    命令红色字体标记
     
    系统初始arp环境
    [root@esx ~]# arp -n
    Address                 HWtype  HWaddress             Flags Mask Iface
    192.168.1.175           ether   00:24:1D:97:B6:7F   C  vswif0
    192.168.1.120           ether   00:1F:C6:3A:DC:81      C  vswif0
    192.168.1.51            (incomplete)         vswif0
     
    执行清除所有arp 缓存命令
    [root@esx ~]# arp -n|awk '/^[1-9]/{print "arp -d  " $1}'|sh -x
    + arp -d 192.168.1.175
    + arp -d 192.168.1.120
    + arp -d 192.168.1.51
     
     
    执行命令后,本机arp缓存信息
    [root@esx ~]# arp -n
    Address                  HWtype  HWaddress           Flags Mask            Iface
    192.168.1.175           (incomplete)        vswif0
    192.168.1.120           (incomplete)        vswif0
    192.168.1.51              (incomplete)      vswif0
  • 相关阅读:
    ubuntu10官方镜像安装硬盘自动分区失败的问题
    ubuntu10的pci扩展卡驱动安装失败后检查方法
    day7集合
    day6字符编码
    day5 dict
    day4 list,tuple
    day2 int,bool,str
    day1
    函数一
    注册登录
  • 原文地址:https://www.cnblogs.com/diyunpeng/p/5937573.html
Copyright © 2011-2022 走看看