Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10730

동일한 네트워크에서 중복되는 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 debian / ubuntu SSH root 사용자 접속 허용 호스트웨이 2012.11.23 14069
225 epel-release 설치하기 file 호스트웨이 2014.12.22 14293
224 /proc의 퍼미션 조정으로 보안 강화 호스트웨이 2012.05.18 14350
223 Linux 시스템 정보 확인 호스트웨이 2012.08.24 14444
222 특정 IP 엑세스 못하게 하는방법 호스트웨이 2012.06.22 14454
221 서버 아이피 변경으로 인한 다량의 네임서버 존파일 일괄 변경 방법 호스트웨이 2012.04.06 14685
220 find 명령어-1 호스트웨이 2012.03.30 14935
219 리눅스에서 Which 명령어로 명령어 경로 확인 호스트웨이 2012.07.13 14959
218 find 명령 사용 예제들 호스트웨이 2012.06.29 14966
217 리눅스 가상콘솔개수 조절 file 호스트웨이 2012.06.15 15248
216 "The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA" 에러 메시지 발생 시 호스트웨이 2012.07.27 15400
215 yum 업데이트시 특정 패키지 예외처리 방법 호스트웨이 2012.08.23 15416
214 Linux 설치후 기본언어 한국어로 변경 호스트웨이 2012.08.23 15422
213 리눅스 runlevel이란? 호스트웨이 2012.07.13 15452
212 특정 NIC에 한 개 이상의 IP 할당하기 호스트웨이 2012.05.18 15481
211 Linux 미사용 Demon이 실행되지 않게 설정하기 file 호스트웨이 2012.07.20 15565
210 hdparm 을 이용한 하드성능 체크 및 하드 정보 확인 호스트웨이 2012.05.25 15585
209 실수로 압축해제 한 파일들 삭제하기 file 호스트웨이 2012.04.27 15664
208 netstat 명령 옵션-2 호스트웨이 2012.09.13 15803
207 리눅스 퍼미션(Permission)이란? file 호스트웨이 2012.07.20 15922