Subnet calculator

Handy when a box has a second interface and you need to find out what is on the internal network. Accepts 10.10.14.5/23 or 10.10.14.5 255.255.254.0.

Network
Netmask
Wildcard
Broadcast
First host
Last host
Usable hosts
Type

In binary

From the compromised host

Interfaces and routes Target
ip -4 a; ip route; cat /etc/hosts
Ping sweep (bash) Target
for i in $(seq 1 254); do (ping -c1 -W1 172.16.1.$i >/dev/null && echo "172.16.1.$i activo") & done; wait
Ping sweep (Windows) Target
for /L %i in (1,1,254) do @ping -n 1 -w 200 172.16.1.%i | find "TTL="
ARP table Target
ip neigh || arp -a