Berkeley CSUA MOTD:Entry 24895
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/07 [General] UID:1000 Activity:popular
4/7     

2002/5/20-21 [Computer/Networking] UID:24895 Activity:high
5/20    Is there a way given an ethernet address to get the corresponding ip?
        [i.e. something that will probe your subnet for a matching ethernet
        address]
        \_ arp
           \_ ping your broadcast address and then use arp.
              you ping first so you can populate your arp cache which
              would probably be pretty empty -- it gets cleared pretty
              quickly.  You may also benefit from pings to each of the
              addresses on your subnet since some hosts may (intentionally)
              fail to respond to icmp echo req's sent to the broadcast
              address.  -yoda
              \_ Is there a way to write out a packet onto the local subnet
                 with a known ethernet address and have that frame pickedup
                 by the corresponding machine and then have that send back a
                 packet with its ip address. normal RARP users an all ones
                 broadcast so another machines can answer the RARP query,
                 but isnt there a way just to ask the single machine matching
                 the ethernet address you are looking for?
                 \_ not without coding
                 \_ Via the persistant info on the switch?