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





번호 제목 글쓴이 날짜 조회 수
126 ifconfig 항목 설명 호스트웨이 2012.11.22 4399
125 vi 편집기에서 모든글자를 대소문자로 변경할때 사용하는 명령어 호스트웨이 2012.11.23 4139
124 debian / ubuntu SSH root 사용자 접속 허용 호스트웨이 2012.11.23 14069
123 리눅스 일반사용자에게 root 권한 부여하기 file 호스트웨이 2012.11.23 12428
122 리눅스 comm 명령어를 통해 두개의 파일내용 비교하기 file 호스트웨이 2012.11.29 4435
121 sshd_config 파일 설명 호스트웨이 2012.11.29 14051
120 queryperf 설치 및 사용 방법 (DNS 스트레스 테스트) 호스트웨이 2012.11.29 1869
119 vim fileformat 변경하기: -bash: ./LINUX_03.sh: /bin/sh^M: bad interpreter: No such file or directory 호스트웨이 2012.11.29 2292
118 vsFTPd 사용시 디렉토리 목록 조회가 안될때 호스트웨이 2012.11.30 9064
117 강제 umount 방법 (umount : device is busy 발생시) 호스트웨이 2012.11.30 55488
116 리눅스 프로세스별 메모리 사용량 확인 호스트웨이 2012.12.06 12660
115 리눅스 명령어 모음 호스트웨이 2012.12.06 4789
114 리눅스 dmesg 명령어 file 호스트웨이 2012.12.06 4158
113 잘못푼 압축파일(tar.gz) 지우는 방법 호스트웨이 2012.12.07 1272
112 패키지에 포함된 리스트 확인하기 호스트웨이 2012.12.07 5084
111 리눅스 관리툴 webmin 설치하기 호스트웨이 2012.12.07 3192
110 이름에 공백이나 특수문자가 포함된 파일 수정,삭제하기 호스트웨이 2012.12.07 20116
109 locate 명령어를 이용해 빠르게 지정한 파일 찾기 file 호스트웨이 2012.12.12 1859
108 리눅스 who 명령어 호스트웨이 2012.12.12 3738
107 Ctrl+Alt+Del로 재부팅 방지 하기 file 호스트웨이 2012.12.13 3441