Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10740

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





번호 제목 글쓴이 날짜 조회 수
26 ispell 명령어를 통한 철자 검사 및 수정하기 file 호스트웨이 2012.10.12 2523
25 rsync / 파티션 전체 동기화 방법 호스트웨이 2012.12.14 2429
24 500 FTP server shut down 문제 해결 호스트웨이 2015.09.09 2403
23 리눅스 시스템상에서 하드웨어사양 확인 호스트웨이 2012.10.24 2369
22 vim fileformat 변경하기: -bash: ./LINUX_03.sh: /bin/sh^M: bad interpreter: No such file or directory 호스트웨이 2012.11.29 2292
21 TCp syn Flooding 공격시 대처방법 TIP 호스트웨이 2012.10.26 2239
20 free -m 에서 free (남는 메모리 양) 최소량 제한하기 호스트웨이 2012.12.21 2147
19 limits.conf 설명 file 호스트웨이 2012.11.09 2133
18 top 사용 추가 tip 호스트웨이 2015.09.15 2016
17 /proc 디렉터리내 파일 정보 알아보기 호스트웨이 2012.11.21 1918
16 kbd_mode 명령어를 통해 인식중인 키보드모드 출력 및 변경하기 file 호스트웨이 2012.11.06 1896
15 queryperf 설치 및 사용 방법 (DNS 스트레스 테스트) 호스트웨이 2012.11.29 1871
14 locate 명령어를 이용해 빠르게 지정한 파일 찾기 file 호스트웨이 2012.12.12 1859
13 리눅스 free 명령어 호스트웨이 2012.12.26 1819
12 arch 명령어를 통해 컴퓨터 종류 알기 file 호스트웨이 2012.11.16 1797
11 특정 파일이 소속된 rpm 패키지 찾기 호스트웨이 2012.12.14 1782
10 Log file 주기적으로 정리하기 호스트웨이 2015.09.08 1644
9 리눅스 whereis 명령어 file 호스트웨이 2012.09.28 1634
8 2015년 7월1일 윤초 발생 관련 점검 방안 file 호스트웨이 2015.06.30 1558
7 Linux 외장 저장장치 mount file 호스트웨이 2015.09.10 1397