Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10708

동일한 네트워크에서 중복되는 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 ~]#





번호 제목 글쓴이 날짜 조회 수
246 이름에 공백이나 특수문자가 포함된 파일 수정,삭제하기 호스트웨이 2012.12.07 20004
245 Linux lastlog를 이용한 최근 접속정보 확인 file 호스트웨이 2012.04.06 19743
244 APM, PHP 컴파일 옵션 확인하기 호스트웨이 2012.09.05 19572
243 Yum - Dag Repository 추가 호스트웨이 2012.07.27 19544
242 서버의 바이오스, 메인보드에서 지원하는 최대 메모리 확인 방법 호스트웨이 2012.03.23 19413
241 리눅스에서 iso 이미지 활용하기 호스트웨이 2012.04.13 19390
240 L4 로드밸런서 알고리즘 호스트웨이 2012.06.22 19387
239 Ubuntu 12.10(quantal) 업그레이드 하기 호스트웨이 2012.11.09 19233
238 포트를 사용중인 프로세스 확인하기 file 호스트웨이 2012.03.23 19224
237 grep 명령어 사용하기 file 호스트웨이 2012.03.16 19199
236 ubuntu 서버에 쉽게 apache + php + mysql + phpMyAdmin 설치하기 호스트웨이 2012.06.01 19148
235 EXT3-fs warning: maximal mount count reached, running e2fsck is recommended 해결 호스트웨이 2012.06.22 19126
234 리눅스 dd 명령어 호스트웨이 2012.08.24 19123
233 keepalived.conf 각 파라미터의 의미 호스트웨이 2012.05.18 19107
232 PHP 설치된 모듈 확인 호스트웨이 2012.08.03 18941
231 Vsftpd 파일명 혹은 확장자에 따른 업로드 제한하기 호스트웨이 2012.07.20 18595
230 chattr 명령을 이용한 파일 속성 변경 file 호스트웨이 2012.04.07 18558
229 vsftp사용 시 root 계정 이용하기 file 호스트웨이 2012.03.23 18498
228 리눅스 메모리 캐쉬삭제 호스트웨이 2012.06.01 18484
227 Disk I/O 줄이기 호스트웨이 2012.10.18 18474