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





번호 제목 글쓴이 날짜 조회 수
226 리눅스 사용자에게 메시지 보내기 file 호스트웨이 2012.10.04 17616
225 리눅스 whereis 명령어 file 호스트웨이 2012.09.28 1634
224 리눅스 tee명령어를 이용하여 디렉토리 목록 저장 file 호스트웨이 2012.09.28 4733
223 서비스 체크 스크립트 호스트웨이 2012.09.28 4537
222 yum을 이용한 X-Window 설치 호스트웨이 2012.09.27 3001
221 iptables를 이용한 ssh 스캐닝 공격 방어 호스트웨이 2012.09.21 3334
220 SFTP 접속 방법 file 호스트웨이 2012.09.21 6779
219 리눅스 tree 명령어 file 호스트웨이 2012.09.21 2928
218 리눅스 APM 소스설치시 Error 및 해결 방법 호스트웨이 2012.09.21 23871
217 리눅스 Ubuntu 네트워크 설정 호스트웨이 2012.09.14 11494
216 리눅스 File 명령어를 통해 파일의 확장자나 속성알아보기 file 호스트웨이 2012.09.14 22258
215 CentOS yum 빠르게 사용하기 호스트웨이 2012.09.14 13264
214 netstat 명령 옵션-2 호스트웨이 2012.09.13 15803
213 chfn 명령어를 통한 사용자 정보변경 file 호스트웨이 2012.09.07 11325
212 LVM 명령 요약 호스트웨이 2012.09.06 31311
211 APM, PHP 컴파일 옵션 확인하기 호스트웨이 2012.09.05 19578
210 CentOS 5/6 에 VMware Tools 설치 방법 호스트웨이 2012.08.31 17053
209 리눅스 bc명령어 file 호스트웨이 2012.08.31 16782
208 cron table의 각 필드 설명 호스트웨이 2012.08.31 12017
207 LILO - Warning: /dev/sda not first disk 에러 발생시 호스트웨이 2012.08.24 11629