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





번호 제목 글쓴이 날짜 조회 수
206 Linux 시스템 정보 확인 호스트웨이 2012.08.24 14444
205 커널패닉시 자동리부팅 방법 호스트웨이 2012.08.24 16318
204 리눅스 dd 명령어 호스트웨이 2012.08.24 19127
203 특정 사용자로 명령어 구동하기 호스트웨이 2012.08.24 21396
202 리눅스 uptime 명령어 file 호스트웨이 2012.08.24 17134
201 리눅스 Memory관리 호스트웨이 2012.08.24 11625
200 History 삭제하는 방법 및 현재한 history 삭제하는 방법 호스트웨이 2012.08.24 23616
199 yum 업데이트시 특정 패키지 예외처리 방법 호스트웨이 2012.08.23 15407
198 리눅스 명령어 알아보기-3 호스트웨이 2012.08.23 12163
197 틀린명령어 틀린글자만 바꿔서 실행하는 간단한팁 호스트웨이 2012.08.23 11717
196 Chage 명령어 호스트웨이 2012.08.23 22607
195 리눅스에서 fstab을 UUID로 변경 호스트웨이 2012.08.23 32944
194 cal 명령어로 달력 보기 호스트웨이 2012.08.23 17309
193 Linux 설치후 기본언어 한국어로 변경 호스트웨이 2012.08.23 15422
192 Debian 에 SAMBA 서버 설정하기 호스트웨이 2012.08.23 21788
191 /bin/false, /sbin/nologin 의 차이점 호스트웨이 2012.08.10 45769
190 리눅스 Sleep 명령어 file 호스트웨이 2012.08.10 42158
189 리눅스 디스크 종류별 명칭 호스트웨이 2012.08.10 17814
188 리눅스 daemon 설명 호스트웨이 2012.08.10 28446
187 리눅스 시스템 폴더별 명령어 알아보기 - 두번째 호스트웨이 2012.08.10 18031