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





번호 제목 글쓴이 날짜 조회 수
286 리눅스에서 iso 이미지 활용하기 호스트웨이 2012.04.13 19390
285 Telnet을 이용하여 Linux서버 원격접속 file 호스트웨이 2012.04.13 20529
284 리눅스 커널 버전 의미 file 호스트웨이 2012.04.20 27086
283 파일 내용 출력 관련된 명령어 호스트웨이 2012.04.20 18275
282 부하 테스트 - 1편 / 시스템 하드웨어 stress tool 호스트웨이 2012.04.20 30876
281 CentOS 6 – root 패스워드 변경하기 호스트웨이 2012.04.20 22366
280 find 명령 2번째 호스트웨이 2012.04.20 13927
279 실수로 압축해제 한 파일들 삭제하기 file 호스트웨이 2012.04.27 15646
278 리눅스 디스크 사용량 확인 file 호스트웨이 2012.04.27 13879
277 부하 테스트 2편 – Web Test 호스트웨이 2012.04.27 26658
276 도메인 Status Code 호스트웨이 2012.04.27 16501
275 Ping 요청 막는 방법 호스트웨이 2012.05.04 17941
274 Ubuntu 12.04: Ubuntu 11.10 또는 Ubuntu 10.04 LTS 에서 Ubuntu 12.04 로 업그레이드하기 호스트웨이 2012.05.04 17224
273 grub-install 사용방법 호스트웨이 2012.05.04 23464
272 vsftp에서 업로드, 다운로드 전송속도 제한하기 file 호스트웨이 2012.05.05 25275
271 특정 계정만 su 명령어 사용 file 호스트웨이 2012.05.05 39702
270 parted를 이용한 2TB 이상의 partitioning file 호스트웨이 2012.05.05 35657
269 PING 사용시 시간 출력 방법 file 호스트웨이 2012.05.05 20874
268 하드 디스크의 베드블럭 처리 방법 호스트웨이 2012.05.11 16072
267 -, -- 로 시작하는 파일 지우는 팁 file 호스트웨이 2012.05.11 13489