Linux ETC

동일 네트워크의 중복 IP검색

2015.09.23 17:35

호스트웨이 조회 수:10724

동일한 네트워크에서 중복되는 IP를 검색 합니다.



- arp Request 보내기

[root@hostway ~]# arping -I eth0 -c 3 211.115.202.200

ARPING 211.115.202.200 from 211.115.202.199 eth0

Unicast reply from 211.115.202.200 [3A:06:CE:2D:D4:E4]  1.037ms

Unicast reply from 211.115.202.200 [3A:06:CE:2D:D4:E4]  1.147ms

Unicast reply from 211.115.202.200 [3A:06:CE:2D:D4:E4]  1.034ms

Sent 3 probes (1 broadcast(s))

Received 3 response(s)


-arping 를 사용하여 중복 IP검색

[root@hostway ~]# arping -D -I eth0 -c 3 211.115.202.200

ARPING 211.115.202.200 from 0.0.0.0 eth0

Unicast reply from 211.115.202.200 [3A:06:CE:2D:D4:E4]  1.023ms

Sent 1 probes (1 broadcast(s))

Received 1 response(s)

[root@hostway ~]#






- Option

[root@hostway ~]# arping

Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination

  -f : quit on first reply

  -q : be quiet

  -b : keep broadcasting, don't go unicast

  -D : duplicate address detection mode

  -U : Unsolicited ARP mode, update your neighbours

  -A : ARP answer mode, update your neighbours

  -V : print version and exit

  -c count : how many packets to send

  -w timeout : how long to wait for a reply

  -I device : which ethernet device to use (eth0)

  -s source : source ip address

  destination : ask for what ip address

[root@hostway ~]#





번호 제목 글쓴이 날짜 조회 수
346 SELinux 제어 방법 호스트웨이 2008.05.19 32678
345 현재 설치된 메모리 정보를 확인하는 방법 호스트웨이 2012.03.30 32474
344 Privilege separation user sshd does not exist 메세지 sylee 2008.06.04 32430
343 yum 으로 패키지그룹 관리하기 jook 2009.04.22 32422
342 도메인 / IP 정보 조회 방법 및 사이트 Namlyong 2010.01.13 32296
341 리눅스에서 NTFS 읽고 쓰기 호스트웨이 2009.04.18 32284
340 dmidecode 명령 jook 2009.10.30 32171
339 가장 안정적인 NTP 서버 주소 호스트웨이 2012.07.20 32123
338 performance of JFS HOSTWAY 2008.06.04 31822
337 SFTP 퍼미션 조정 및 chroot 설정으로 상위폴더 접근 제한하기 호스트웨이 2015.10.29 31750
336 Quota 설정하기 호스트웨이 2008.05.19 31601
335 vmstat 사용법 sylee 2008.05.15 31446
334 리눅스에서 wget 명령어의 사용 방법 호스트웨이 2012.06.01 31366
333 LVM 명령 요약 호스트웨이 2012.09.06 31311
332 ssh 포트 변경 방법 sylee 2008.05.14 31256
331 파일 수정일자 변경하기 jook 2008.05.28 31231
330 mii-tool로 랜카드 속도와 duplex모드 조절하기 호스트웨이 2008.05.19 31203
329 터미널 접속후 자동 로그아웃 설정하기 호스트웨이 2008.05.19 31201
328 부하 테스트 - 1편 / 시스템 하드웨어 stress tool 호스트웨이 2012.04.20 30878
327 fstab 손상으로 / 파티션이 Read-Only 상태일 때 Remount 하는 방법 호스트웨이 2012.10.05 30725