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





번호 제목 글쓴이 날짜 조회 수
106 SFTP 접속 방법 file 호스트웨이 2012.09.21 6779
105 SYN_Flooding 공격 막기 호스트웨이 2015.09.25 6554
104 mknod_장치파일을 만들어 사용 호스트웨이 2015.09.22 6499
103 사용하고 있던 외장하드가 마운트 되지 않는 경우 호스트웨이 2015.09.22 6457
102 SVN(subversion) 설치 및 셋팅 file 호스트웨이 2014.12.02 6423
101 오늘 생성한 파일만 조회하기 호스트웨이 2012.12.27 6238
100 ls -l 출력 시 날짜형태 변경 호스트웨이 2012.12.27 6139
99 Touch 파일 용량 0바이트 만들기 호스트웨이 2015.09.20 6115
98 lrzsz 사용해보기 호스트웨이 2012.10.12 6062
97 Linux chkrootkit을 이용한 백도어 설치 탐지 호스트웨이 2015.09.18 5936
96 tar 분할압축하기 호스트웨이 2015.09.19 5876
95 LAN 카드에 여러개의 IP 주소 할당 호스트웨이 2015.09.18 5769
94 서버 네트워크 대역폭 제한 호스트웨이 2015.09.20 5719
93 dumpe2fs - 파일시스템 상세 정보 확인 호스트웨이 2015.09.18 5611
92 Proftp 설치 및 xinetd 에서 실행하기 file 호스트웨이 2015.09.18 5589
91 Linux -(하이픈)으로 시작하는 파일 지우기 호스트웨이 2015.09.20 5506
90 리눅스 캐시 메모리 비우기 file 호스트웨이 2012.12.26 5269
89 리눅스 파일 및 디렉토리 권한 관리 file 호스트웨이 2015.09.13 5183
88 패키지에 포함된 리스트 확인하기 호스트웨이 2012.12.07 5084
87 Web site에서 php error log 출력하지 않기 호스트웨이 2012.11.01 5048