Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10724

동일한 네트워크에서 중복되는 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 PHP 설치된 모듈 확인 호스트웨이 2012.08.03 18968
185 리눅스 touch 명령어 file 호스트웨이 2012.08.03 24832
184 리눅스 시스템 폴더별 명령어 알아보기 호스트웨이 2012.08.03 13579
183 Yum - Dag Repository 추가 호스트웨이 2012.07.27 19547
182 RPM 관련 옵션들-1 호스트웨이 2012.07.27 17397
181 CentOS 5.X의 yum 속도 올리기 호스트웨이 2012.07.27 17545
180 리눅스 setup 명령어를 이용한 간편 설정 file 호스트웨이 2012.07.27 21104
179 리눅스 부트로더란? 호스트웨이 2012.07.27 17668
178 Putty 접속 시 창 분할하는 방법(screen 이용) file 호스트웨이 2012.07.27 28499
177 "The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA" 에러 메시지 발생 시 호스트웨이 2012.07.27 15400
176 Proftpd – ‘unable to determine IP address’ 에러 발생시 호스트웨이 2012.07.20 16193
175 Linux 미사용 Demon이 실행되지 않게 설정하기 file 호스트웨이 2012.07.20 15565
174 리눅스 퍼미션(Permission)이란? file 호스트웨이 2012.07.20 15922
173 Vsftpd 파일명 혹은 확장자에 따른 업로드 제한하기 호스트웨이 2012.07.20 18596
172 리눅스 ss 명령어 호스트웨이 2012.07.20 23515
171 SED 명령어 사용법 호스트웨이 2012.07.20 16955
170 가장 안정적인 NTP 서버 주소 호스트웨이 2012.07.20 32122
169 Rsync를 이용한 데이터 Sync, 백업하기 – 2탄 호스트웨이 2012.07.13 23891
168 리눅스 more 명령어 file 호스트웨이 2012.07.13 16104
167 리눅스 runlevel이란? 호스트웨이 2012.07.13 15452