满意答案

00e27ab806e4881f8254fe7ae8741834.png

jxgzzgxml

2019.11.02

00e27ab806e4881f8254fe7ae8741834.png

采纳率:46%    等级:7

已帮助:460人

1、系统初始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

2、执行清除所有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

3、执行命令后,本机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

00分享举报

Logo

更多推荐