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





번호 제목 글쓴이 날짜 조회 수
286 리눅스 touch 명령어 file 호스트웨이 2012.08.03 24832
285 로그 관리 호스트웨이 2008.05.19 24801
284 반복적인 수행 crontab - 기본편 Namlyong 2010.04.02 24733
283 CGI 환경 테스트 sylee 2008.05.21 24613
282 debian .vimrc 활용 HOSTWAY 2009.04.15 24476
281 awk 를 이용한 패턴 처리 호스트웨이 2008.05.19 24463
280 php-5.2.x 설치 옵션 호스트웨이 2009.02.05 24393
279 특정 사용자 계정 동시 로그인 수 제한 file 호스트웨이 2012.05.11 24318
278 hdparm 옵션 알아보기 sylee 2010.02.04 24241
277 Linux 서버 root password 분실시 변경 방법 file 호스트웨이 2012.03.30 24001
276 samba 설정후, 한글 파일이 깨질때.. jook 2009.10.08 23924
275 Rsync를 이용한 데이터 Sync, 백업하기 – 2탄 호스트웨이 2012.07.13 23889
274 리눅스 APM 소스설치시 Error 및 해결 방법 호스트웨이 2012.09.21 23870
273 계정 생성 시 ftp 계정만 주고 Shell 로그인 차단하기 file 호스트웨이 2012.04.06 23714
272 History 삭제하는 방법 및 현재한 history 삭제하는 방법 호스트웨이 2012.08.24 23616
271 DHCP 환경에서의 resolv.conf 초기화 현상 호스트웨이 2012.03.09 23614
270 리눅스 ss 명령어 호스트웨이 2012.07.20 23515
269 grub-install 사용방법 호스트웨이 2012.05.04 23484
268 Network File System 호스트웨이 2008.05.19 23447
267 리눅스 커널 업데이트 및 커널 변경 부팅 방법 file 호스트웨이 2014.10.30 23410