Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10730

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





번호 제목 글쓴이 날짜 조회 수
246 LILO - Warning: /dev/sda not first disk 에러 발생시 호스트웨이 2012.08.24 11630
245 서버시간 매시간마다 동기화 설정 호스트웨이 2015.09.23 11712
244 틀린명령어 틀린글자만 바꿔서 실행하는 간단한팁 호스트웨이 2012.08.23 11718
243 서버 계정을 다른서버로 이전하기 호스트웨이 2015.09.23 11765
242 두 파일 비교 diff 의 기본 사용법 호스트웨이 2015.09.14 11875
241 cron table의 각 필드 설명 호스트웨이 2012.08.31 12017
240 리눅스 명령어 알아보기-3 호스트웨이 2012.08.23 12164
239 리눅스 일반사용자에게 root 권한 부여하기 file 호스트웨이 2012.11.23 12428
238 extundelete tool을 이용하여 삭제된 파일 복구하기 호스트웨이 2016.02.29 12511
237 리눅스 프로세스별 메모리 사용량 확인 호스트웨이 2012.12.06 12660
236 문자열 치환하기 호스트웨이 2012.10.12 12662
235 리눅스 CD로 손상된 파일 복구하기 호스트웨이 2015.09.29 13087
234 CentOS yum 빠르게 사용하기 호스트웨이 2012.09.14 13265
233 -, -- 로 시작하는 파일 지우는 팁 file 호스트웨이 2012.05.11 13489
232 리눅스 시스템 폴더별 명령어 알아보기 호스트웨이 2012.08.03 13579
231 VI 편집기에서 사용되는 명령어(2) 호스트웨이 2012.04.06 13737
230 리눅스 디스크 사용량 확인 file 호스트웨이 2012.04.27 13879
229 VI 편집기에서 사용되는 명령어 호스트웨이 2012.03.30 13909
228 find 명령 2번째 호스트웨이 2012.04.20 13927
227 sshd_config 파일 설명 호스트웨이 2012.11.29 14051