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 ~]#





번호 제목 글쓴이 날짜 조회 수
326 dmidecode 명령 jook 2009.10.30 32171
325 도메인 / IP 정보 조회 방법 및 사이트 Namlyong 2010.01.13 32075
324 hdparm 옵션 알아보기 sylee 2010.02.04 24238
323 반복적인 수행 crontab - 기본편 Namlyong 2010.04.02 24732
322 vsftpd 시간이 맞지 않을때 sylee 2010.04.07 20168
321 리눅스에서 mii-tool 사용 방법 호스트웨이 2012.03.08 22540
320 DHCP 환경에서의 resolv.conf 초기화 현상 호스트웨이 2012.03.09 23597
319 SSH 패스워드 없이 자동 로그인 하는 방법 호스트웨이 2012.03.09 18095
318 리눅스 서버 누가 언제 무슨 작업을 했는지 확인 방법 호스트웨이 2012.03.09 93317
317 데비안 백포트 사용해 보기 호스트웨이 2012.03.16 18238
316 grep 명령어 사용하기 file 호스트웨이 2012.03.16 19199
315 비대해진 로그 파일 내용을 비우는 방법 - /dev/null 호스트웨이 2012.03.16 61402
314 history 조회시 '날짜,시간' 표시하기 호스트웨이 2012.03.16 49291
313 at 명령어를 이용한 예약 작업 호스트웨이 2012.03.16 21863
312 scp 명령어를 이용한 파일 복사 및 전송 호스트웨이 2012.03.16 264432
311 yum repository 국내 mirror 설정 file 호스트웨이 2012.03.23 36858
310 vsftp사용 시 root 계정 이용하기 file 호스트웨이 2012.03.23 18498
309 OSI 7 Layer 의 이해 file 호스트웨이 2012.03.23 18312
308 포트를 사용중인 프로세스 확인하기 file 호스트웨이 2012.03.23 19224
307 VSFTP 에서 사용하는 port를 변경하기 호스트웨이 2012.03.23 39687