Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Trick เกี่ยวกับการแก้ปัญหา เกี่ยวกับ compiler gcc c++ c build make install => Topic started by: golfreeze on พฤษภาคม 15, 2012, 04:40:32 PM

Title: เครียร์ arp ในฝั่ง server [ linux / BSD]
Post by: golfreeze on พฤษภาคม 15, 2012, 04:40:32 PM
[Linux / Centos / Redhat ]

clear arp on interface eth0
#ip neigh flush dev eth0

clear arp on host ip 10.1.1.1
#ip neigh flush 10.1.1.1

Flush arp entry for all hosts in network 192.168.0.0/24
#ip neigh flush 192.168.0.0/24

Flush arp on all entries
#ip neigh flush all
Title: Re: เครียร์ arp ในฝั่ง server [ linux / BSD]
Post by: golfreeze on พฤษภาคม 15, 2012, 04:41:07 PM
[FreeBSD]

delete arp on host 10.1.1.1
#arp -d  10.1.1.1

ถ้าจะลบ arp mac ทั้งหมดเลยภายในเครื่องนั้นก็
#arp -d -a

ครับ ลองดูกันนะครับ