Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10708

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





번호 제목 글쓴이 날짜 조회 수
266 FreeBSD 커널 빌드 sylee 2009.04.14 23287
265 Chage 명령어 호스트웨이 2012.08.23 22605
264 리눅스에서 mii-tool 사용 방법 호스트웨이 2012.03.08 22540
263 CentOS 6 – root 패스워드 변경하기 호스트웨이 2012.04.20 22366
262 Tcpdump의 옵션들 호스트웨이 2012.05.25 22253
261 리눅스 File 명령어를 통해 파일의 확장자나 속성알아보기 file 호스트웨이 2012.09.14 22196
260 CentOS터미널 접속시 쉘색상 변경방법 file 호스트웨이 2012.06.08 22056
259 at 명령어를 이용한 예약 작업 호스트웨이 2012.03.16 21863
258 Debian 에 SAMBA 서버 설정하기 호스트웨이 2012.08.23 21786
257 ps 명령어 호스트웨이 2012.06.01 21770
256 특정 사용자로 명령어 구동하기 호스트웨이 2012.08.24 21390
255 리눅스에서 서버 호스트네임 관리 호스트웨이 2012.07.13 21201
254 리눅스 setup 명령어를 이용한 간편 설정 file 호스트웨이 2012.07.27 21093
253 하드디스크의 배드블럭을 검사하는 명령어 (badblocks) 호스트웨이 2012.03.30 21061
252 PING 사용시 시간 출력 방법 file 호스트웨이 2012.05.05 20874
251 Telnet을 이용하여 Linux서버 원격접속 file 호스트웨이 2012.04.13 20529
250 데비안에서 CPU 온도 확인 해보기-lm_sensors 호스트웨이 2012.07.13 20434
249 sysstat 설치편 호스트웨이 2012.06.08 20400
248 Ext2Fsd 를 이용하여 윈도우즈 PC에서 리눅스 파티션 읽기 file 호스트웨이 2012.06.15 20342
247 vsftpd 시간이 맞지 않을때 sylee 2010.04.07 20168