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 ~]#
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
346 | /proc/sys/net/ipv4 활용 서버보안 -2- | 호스트웨이 | 2015.09.18 | 3136 |
345 | 리눅스 파티션 볼륨 레이블 설정 | 호스트웨이 | 2012.11.01 | 3177 |
344 | 리눅스 관리툴 webmin 설치하기 | 호스트웨이 | 2012.12.07 | 3192 |
343 | UTF-8 환경의 Linux 에서 SAMBA 한글 인코딩 문제 해결 방법 | 호스트웨이 | 2015.09.09 | 3289 |
342 | iptables를 이용한 ssh 스캐닝 공격 방어 | 호스트웨이 | 2012.09.21 | 3334 |
341 | vsftpd 패시브 모드 설정 | 호스트웨이 | 2015.09.13 | 3345 |
340 | tcpdump 활용 | 호스트웨이 | 2015.09.16 | 3349 |
339 | samba 설치 | 호스트웨이 | 2014.04.14 | 3378 |
338 | Ctrl+Alt+Del로 재부팅 방지 하기 | 호스트웨이 | 2012.12.13 | 3442 |
337 | 리눅스 wc 명령어 | 호스트웨이 | 2012.10.26 | 3474 |
336 | CPU 사용률 제한 | 호스트웨이 | 2015.09.18 | 3485 |
335 | 리눅스 SSH Port 추가하기 | 호스트웨이 | 2015.09.16 | 3525 |
334 | 패스워드 정책 변경 | 호스트웨이 | 2015.09.03 | 3725 |
333 | 리눅스 who 명령어 | 호스트웨이 | 2012.12.12 | 3738 |
332 | Route 경로 추가 | 호스트웨이 | 2015.09.18 | 3755 |
331 | nl명령어를 사용해 파일내용 출력시 행번호 붙이기 | 호스트웨이 | 2012.12.20 | 3785 |
330 | apache log rotatelogs 관리 | 호스트웨이 | 2015.09.08 | 3789 |
329 | scp, ssh, rsync를 사용할 때 SSH 암호 묻는 것 피하는 법 | 호스트웨이 | 2015.09.13 | 3790 |
328 | 모든 파일 안의 문자열 치환하기 | 호스트웨이 | 2015.09.21 | 3964 |
327 | history 삭제 막기 | 호스트웨이 | 2012.10.19 | 3967 |