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





번호 제목 글쓴이 날짜 조회 수
206 하드 디스크의 베드블럭 처리 방법 호스트웨이 2012.05.11 16072
205 리눅스 more 명령어 file 호스트웨이 2012.07.13 16104
204 IBM Integrated Management Module 로그인 정보 호스트웨이 2012.07.06 16179
203 Proftpd – ‘unable to determine IP address’ 에러 발생시 호스트웨이 2012.07.20 16193
202 리눅스 부팅 과정 file 호스트웨이 2012.06.01 16207
201 커널패닉시 자동리부팅 방법 호스트웨이 2012.08.24 16313
200 안전한 패스워드 생성하기 호스트웨이 2012.06.08 16385
199 시스템내에서 하드 용량이 다르게 보이는 이유 호스트웨이 2012.06.29 16426
198 ssh port 번호 변경하기 호스트웨이 2012.10.05 16488
197 도메인 Status Code 호스트웨이 2012.04.27 16501
196 리눅스 tar로 압축 할 때 Archive에 파일 업데이트 하기 호스트웨이 2012.05.18 16525
195 리눅스 bc명령어 file 호스트웨이 2012.08.31 16779
194 ngrep 사용법 호스트웨이 2012.04.13 16808
193 vsftpd.conf 옵션 설명 호스트웨이 2012.04.06 16816
192 SED 명령어 사용법 호스트웨이 2012.07.20 16955
191 CentOS 5/6 에 VMware Tools 설치 방법 호스트웨이 2012.08.31 17052
190 리눅스 로그인 메시지 출력 file 호스트웨이 2012.07.06 17107
189 리눅스 uptime 명령어 file 호스트웨이 2012.08.24 17133
188 Debian upgrade, lenny apt source list 호스트웨이 2012.05.25 17165
187 CentOS 4.x – yum mirror 사이트 변경 호스트웨이 2012.05.25 17172