Linux ETC

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

2015.09.23 17:35

호스트웨이 조회 수:10724

동일한 네트워크에서 중복되는 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 /proc/sys/net/ipv4/conf/ 네트워크 세팅 호스트웨이 2015.09.22 9753
25 /etc/fstab 등록 호스트웨이 2015.09.22 11123
24 mknod_장치파일을 만들어 사용 호스트웨이 2015.09.22 6499
23 Linux 파일명이 깨진파일 삭제 호스트웨이 2015.09.23 17594
22 리눅스 터미널 기반 모니터링 툴 "glances" 호스트웨이 2015.09.23 7811
21 삭제된 파일 복구 - 1 호스트웨이 2015.09.23 9161
» 동일 네트워크의 중복 IP검색 호스트웨이 2015.09.23 10724
19 서버 계정을 다른서버로 이전하기 호스트웨이 2015.09.23 11749
18 터미널 접속 시 한글이 깨질 때 호스트웨이 2015.09.23 6973
17 리눅스 상에서 메모리 사용 현황 확인하기 호스트웨이 2015.09.23 6994
16 서버시간 매시간마다 동기화 설정 호스트웨이 2015.09.23 11712
15 리눅스 서버 보안 관련 설정 호스트웨이 2015.09.23 8781
14 사용하지 않는 데몬 끄기 호스트웨이 2015.09.23 7531
13 프로그램의 사용 메모리 확인 호스트웨이 2015.09.23 7389
12 삭제된 파일 복구 - 2 호스트웨이 2015.09.24 7892
11 사용 가능한 쉘 확인 및 변경법 호스트웨이 2015.09.24 10845
10 Linux ssh 무작위 공격 방어하기 - fail2ban 호스트웨이 2015.09.24 9137
9 SYN_Flooding 공격 막기 호스트웨이 2015.09.25 6554
8 Linux 설치된 OS 커널의 Bit확인 호스트웨이 2015.09.26 10331
7 find 명령을 통한 소유자, 백도어, 파일 찾기 호스트웨이 2015.09.29 10479