Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10708

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





번호 제목 글쓴이 날짜 조회 수
266 sshd_config 파일 설명 호스트웨이 2012.11.29 14004
265 리눅스 comm 명령어를 통해 두개의 파일내용 비교하기 file 호스트웨이 2012.11.29 4406
264 리눅스 일반사용자에게 root 권한 부여하기 file 호스트웨이 2012.11.23 12424
263 debian / ubuntu SSH root 사용자 접속 허용 호스트웨이 2012.11.23 14069
262 vi 편집기에서 모든글자를 대소문자로 변경할때 사용하는 명령어 호스트웨이 2012.11.23 4119
261 ifconfig 항목 설명 호스트웨이 2012.11.22 4399
260 /proc 디렉터리내 파일 정보 알아보기 호스트웨이 2012.11.21 1911
259 랜카드 본딩(bond0) 설정 호스트웨이 2012.11.16 2716
258 현재 접속 사용자(머신/디바이스)수 알아내기 호스트웨이 2012.11.16 1129
257 arch 명령어를 통해 컴퓨터 종류 알기 file 호스트웨이 2012.11.16 1796
256 INIT: no more processes left in this runlevel 메세지 발생시 호스트웨이 2012.11.15 3011
255 vi 로 ^M 제거하기 호스트웨이 2012.11.15 11206
254 리눅스 간단 시스템 점검 1편 호스트웨이 2012.11.14 4128
253 limits.conf 설명 file 호스트웨이 2012.11.09 2127
252 Ubuntu 12.10(quantal) 업그레이드 하기 호스트웨이 2012.11.09 19233
251 bonding mode 종류 알아보기 호스트웨이 2012.11.08 10451
250 쉘 프롬프트 설정하기 file 호스트웨이 2012.11.08 2669
249 kbd_mode 명령어를 통해 인식중인 키보드모드 출력 및 변경하기 file 호스트웨이 2012.11.06 1896
248 리눅스 look 명령어 file 호스트웨이 2012.11.02 2598
247 i386, i586, i686, x86의 차이 호스트웨이 2012.11.01 7456