2015.09.23 17:35
동일한 네트워크에서 중복되는 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 ~]#
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
6 | 우분투 서버에 JDK7 설치하기 | 호스트웨이 | 2015.09.13 | 1360 |
5 | sftp 서비스 막기 | 호스트웨이 | 2012.12.27 | 1320 |
4 | 잘못푼 압축파일(tar.gz) 지우는 방법 | 호스트웨이 | 2012.12.07 | 1272 |
3 | 현재 접속 사용자(머신/디바이스)수 알아내기 | 호스트웨이 | 2012.11.16 | 1130 |
2 | Linux vmstat 명령어 | 호스트웨이 | 2015.09.08 | 1094 |
1 | cdp 백업 프로세스 관련 | 호스트웨이 | 2015.09.07 | 1007 |