Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10733

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





번호 제목 글쓴이 날짜 조회 수
186 커널패닉시 자동리부팅 방법 호스트웨이 2012.08.24 16324
185 리눅스 부팅 과정 file 호스트웨이 2012.06.01 16207
184 Proftpd – ‘unable to determine IP address’ 에러 발생시 호스트웨이 2012.07.20 16193
183 IBM Integrated Management Module 로그인 정보 호스트웨이 2012.07.06 16182
182 리눅스 more 명령어 file 호스트웨이 2012.07.13 16104
181 하드 디스크의 베드블럭 처리 방법 호스트웨이 2012.05.11 16075
180 리눅스 퍼미션(Permission)이란? file 호스트웨이 2012.07.20 15923
179 netstat 명령 옵션-2 호스트웨이 2012.09.13 15803
178 실수로 압축해제 한 파일들 삭제하기 file 호스트웨이 2012.04.27 15667
177 hdparm 을 이용한 하드성능 체크 및 하드 정보 확인 호스트웨이 2012.05.25 15585
176 Linux 미사용 Demon이 실행되지 않게 설정하기 file 호스트웨이 2012.07.20 15565
175 특정 NIC에 한 개 이상의 IP 할당하기 호스트웨이 2012.05.18 15481
174 리눅스 runlevel이란? 호스트웨이 2012.07.13 15452
173 Linux 설치후 기본언어 한국어로 변경 호스트웨이 2012.08.23 15422
172 yum 업데이트시 특정 패키지 예외처리 방법 호스트웨이 2012.08.23 15417
171 "The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA" 에러 메시지 발생 시 호스트웨이 2012.07.27 15400
170 리눅스 가상콘솔개수 조절 file 호스트웨이 2012.06.15 15248
169 find 명령 사용 예제들 호스트웨이 2012.06.29 14966
168 리눅스에서 Which 명령어로 명령어 경로 확인 호스트웨이 2012.07.13 14959
167 find 명령어-1 호스트웨이 2012.03.30 14935