Bernhard Schiffner schrieb:
> Tja wie wohl?
> 

> Ein Netz mit DHCP, ich stecke zwei PC an, bei beiden "dhclient" , schon haben 
> beide IP-Adressen, die sie nie zuvor hatten.
> 
> Da ich die MAC-Adressen von "früher" weiß, möchte ich jetzt (gegenseitig) die 
> aktuelle IP wissen.
> 
> Gibt es sowas wie ping MAC?
> (arping?)
genau:

$ 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

$ dpkg -S arping
iputils-arping: /usr/bin/arping


Konrad

_______________________________________________
Lug-dd maillist  -  Lug-dd@mailman.schlittermann.de
https://ssl.schlittermann.de/mailman/listinfo/lug-dd

Antwort per Email an