Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10747

동일한 네트워크에서 중복되는 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 tcpdump 기본 사용 sylee 2008.07.02 39641
25 특정 계정만 su 명령어 사용 file 호스트웨이 2012.05.05 39725
24 VSFTP 에서 사용하는 port를 변경하기 호스트웨이 2012.03.23 39739
23 openssl 간단 사용법 호스트웨이 2008.12.10 41116
22 리눅스 Sleep 명령어 file 호스트웨이 2012.08.10 42177
21 터미널 창으로 메시지 보내기 호스트웨이 2008.05.19 44254
20 ssh-key를 생성하여 서버에 패스워드 없이 접속하는 방법 jook 2008.06.25 44759
19 Kernel Parameters HOSTWAY 2008.06.04 45459
18 /bin/false, /sbin/nologin 의 차이점 호스트웨이 2012.08.10 45948
17 시스템 시간 확인 및 동기화 하기 sylee 2008.05.15 46983
16 history 조회시 '날짜,시간' 표시하기 호스트웨이 2012.03.16 49693
15 xinetd 소개 및 설정 호스트웨이 2012.06.29 51917
14 top 명령어 및 옵션 설명 file 호스트웨이 2012.03.27 52572
13 강제 umount 방법 (umount : device is busy 발생시) 호스트웨이 2012.11.30 55525
12 서비스 이름으로 포트 번호 확인하기 호스트웨이 2012.04.13 57756
11 fdisk 명령어를 이용하여 수동으로 파티션 나누기 file 호스트웨이 2015.11.30 57768
10 비대해진 로그 파일 내용을 비우는 방법 - /dev/null 호스트웨이 2012.03.16 61430
9 head 와 tail 사용하기 sylee 2008.05.14 63501
8 국가명 약어 (국가코드) 호스트웨이 2012.04.13 65028
7 Swap 메모리 늘리기 file 호스트웨이 2012.03.30 67224