Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10745

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





번호 제목 글쓴이 날짜 조회 수
126 /proc의 퍼미션 조정으로 보안 강화 호스트웨이 2012.05.18 14350
125 특정 NIC에 한 개 이상의 IP 할당하기 호스트웨이 2012.05.18 15481
124 리눅스 tar로 압축 할 때 Archive에 파일 업데이트 하기 호스트웨이 2012.05.18 16532
123 telnet 사용 시 접속가능 시간 제어 하는 법 호스트웨이 2012.05.18 17224
122 keepalived.conf 각 파라미터의 의미 호스트웨이 2012.05.18 19144
121 특정 사용자 계정 동시 로그인 수 제한 file 호스트웨이 2012.05.11 24357
120 -, -- 로 시작하는 파일 지우는 팁 file 호스트웨이 2012.05.11 13489
119 하드 디스크의 베드블럭 처리 방법 호스트웨이 2012.05.11 16076
118 PING 사용시 시간 출력 방법 file 호스트웨이 2012.05.05 20885
117 parted를 이용한 2TB 이상의 partitioning file 호스트웨이 2012.05.05 35791
116 특정 계정만 su 명령어 사용 file 호스트웨이 2012.05.05 39725
115 vsftp에서 업로드, 다운로드 전송속도 제한하기 file 호스트웨이 2012.05.05 25301
114 grub-install 사용방법 호스트웨이 2012.05.04 23492
113 Ubuntu 12.04: Ubuntu 11.10 또는 Ubuntu 10.04 LTS 에서 Ubuntu 12.04 로 업그레이드하기 호스트웨이 2012.05.04 17225
112 Ping 요청 막는 방법 호스트웨이 2012.05.04 17943
111 도메인 Status Code 호스트웨이 2012.04.27 16501
110 부하 테스트 2편 – Web Test 호스트웨이 2012.04.27 26664
109 리눅스 디스크 사용량 확인 file 호스트웨이 2012.04.27 13879
108 실수로 압축해제 한 파일들 삭제하기 file 호스트웨이 2012.04.27 15677
107 find 명령 2번째 호스트웨이 2012.04.20 13927