Sujet : Re: I never thought of this scenario
De : gtaylor (at) *nospam* tnetconsulting.net (Grant Taylor)
Groupes : comp.os.linux.miscDate : 08. Apr 2024, 01:36:04
Autres entêtes
Organisation : TNet Consulting
Message-ID : <uuve5k$6pq$1@tncsrv09.home.tnetconsulting.net>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 4/7/24 18:53, Lawrence D'Oliveiro wrote:
You want it to do an ARP, not a ping. Ping is routable, ARP is not.
What is the down side of ping being routable in the context of determining if an IP in the directly attached subnet is reachable or not?
The only reason I'd prefer to use ARP over ping (ICMP) is that ping can easily be filtered and may give a false negative. While ARP more directly deals with the ARP cache and thus looking at where responses would show up even if ping is filtered.
N.B. to be able to ping something in the local directly attached subnet, ARP is going to be used to resolve the IP address to a MAC address.
-- Grant. . . .