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





번호 제목 글쓴이 날짜 조회 수
326 읽기 전용 파티션 읽고 쓸수 있게 재마운트하는 방법 호스트웨이 2015.09.13 2714
325 vsftpd 패시브 모드 설정 호스트웨이 2015.09.13 3343
324 우분투 서버에 JDK7 설치하기 호스트웨이 2015.09.13 1359
323 리눅스 파일 및 디렉토리 권한 관리 file 호스트웨이 2015.09.13 5181
322 root 초기 접속 홈디렉토리 변경하기 호스트웨이 2015.09.12 7025
321 Linux 외장 저장장치 mount file 호스트웨이 2015.09.10 1397
320 SNMPD LOG 안남게 하기 호스트웨이 2015.09.10 2887
319 XFS 파티션 설치 및 마운트 (CentOS 기준) 호스트웨이 2015.09.09 25349
318 UTF-8 환경의 Linux 에서 SAMBA 한글 인코딩 문제 해결 방법 호스트웨이 2015.09.09 3276
317 500 FTP server shut down 문제 해결 호스트웨이 2015.09.09 2394
316 Linux vmstat 명령어 호스트웨이 2015.09.08 1093
315 useradd 명령어 사용방법 및 옵션 호스트웨이 2015.09.08 4431
314 linux 특정 용량으로 파일을 찾기, 삭제하기 호스트웨이 2015.09.08 4682
313 apache log rotatelogs 관리 호스트웨이 2015.09.08 3785
312 디렉토리(폴더) 색상 변경하기 file 호스트웨이 2015.09.08 4281
311 리눅스 파일 소유자, 권한 일괄 변경하기 호스트웨이 2015.09.08 7729
310 Log file 주기적으로 정리하기 호스트웨이 2015.09.08 1644
309 UTF-8 환경에서 리눅스 한글 꺠짐 현상 해결법 호스트웨이 2015.09.08 2761
308 리눅스 UTF-8 언어 설정 호스트웨이 2015.09.07 27550
307 cdp 백업 프로세스 관련 호스트웨이 2015.09.07 1005