1 |
Hi Nick, |
2 |
on Wednesday, 2005-08-31 at 20:30:14, you wrote: |
3 |
> arp will rely on the box having actually done something within arp's |
4 |
> cache period. |
5 |
|
6 |
What's more, ARP resolves IP addresses to MAC addresses and the IP |
7 |
address is what the OP wanted to find out in the first place. |
8 |
I'd try in this order: |
9 |
1. Broadcast ping |
10 |
2. for n in `seq 1 254`; do ping >/dev/null -c1 -W1 192.168.0.$n; \ |
11 |
[ $? == 0 ] && echo "$n is up"; done |
12 |
3. nmap |
13 |
|
14 |
cheers! |
15 |
Matthias |
16 |
-- |
17 |
I prefer encrypted and signed messages. KeyID: 90CF8389 |
18 |
Fingerprint: 8E 1F 10 81 A4 66 29 46 B9 8A B9 E2 09 9F 3B 91 |