Skip to content

Latest commit

 

History

History
71 lines (60 loc) · 2.24 KB

cix-iputils.org

File metadata and controls

71 lines (60 loc) · 2.24 KB

IP Utils

|≣|

AuthorAlexey Kuznetsov
Contributors
Released2006
Sourceiputils.git

Index

arping (8)           - send ARP REQUEST to a neighbour host
clockdiff (8)        - measure clock difference between hosts
ipg                  -
ping (8)             - send ICMP ECHO_REQUEST to network hosts
ping6 (8)            - send ICMP ECHO_REQUEST to network hosts
rarpd                -
rdisc (8)            - network router discovery daemon
tftpd                -
tracepath (8)        - traces path to a network host discovering MTU along
tracepath6 (8)       - traces path to a network host discovering MTU along
traceroute6 (8)      - print the route packets trace to network host

Receipts

ping

ping::examples

ping-161219235343

mini multithread network pinger-scaner:

#!/usr/bin/env bash

THR="$(grep process /proc/cpuinfo | wc -l)"
MSK="192.168.241."

seq 254 | xargs -n1 -P"$THR" -I% ping -c1 -W3 "${MSK}%"

grep (1) wc (1) seq (1) xargs (1)

arpping

aprping::examples

aprping-170511220947

find dublicated IP on LAN:

#!/usr/bin/env bash

IF_NAME=enp2s0
HOST_IP=10.75.253.111

arping -D -q -I "$IF_NAME" -c3 "$HOST_IP"
if [ "$?" = "0" ]; then
    printf "Your host %s is unique.\n" "$HOST_IP"
else
    echo "Dublicates detected"
fi

Referance