For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > November 2004 > How to reach a MAC address









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to reach a MAC address
Guy DETIENNE

2004-11-26, 8:55 am

Hi everybody !

A simple question but hard for me :

Is it possible to reach a MAC address (like a ping with a
IP address) ?

I know the code to execute a ping (with IP address) but
not the code to reach a MAC...

A solution ?
It is maybe not possible...

Thanks

Guy
Jim Mack

2004-11-26, 8:55 pm

Guy DETIENNE wrote:
> Hi everybody !
>
> A simple question but hard for me :
>
> Is it possible to reach a MAC address (like a ping with a
> IP address) ?
>
> I know the code to execute a ping (with IP address) but
> not the code to reach a MAC...
>
> A solution ?
> It is maybe not possible...
>
> Thanks
>
> Guy


You might try this question in m.p.vb.winapi.networks, but in general I
believe the answer is no. You might, depending on where the MAC address
is located, resolve the MAC to an IP and ping that, but the idea of
'ping' is inherently an IP concept.


--

Jim Mack
MicroDexterity Inc
www.microdexterity.com


Norm Cook

2004-11-27, 3:55 pm

http://vbnet.mvps.org/code/network/macaddress.htm

"Guy DETIENNE" <anonymous@discussions.microsoft.com> wrote in message
news:98db01c4d392$a2ca7640$a601280a@phx.gbl...
> Hi everybody !
>
> A simple question but hard for me :
>
> Is it possible to reach a MAC address (like a ping with a
> IP address) ?
>
> I know the code to execute a ping (with IP address) but
> not the code to reach a MAC...
>
> A solution ?
> It is maybe not possible...
>
> Thanks
>
> Guy



Guy DETIENNE

2004-11-27, 8:56 pm

I don't want to know my local Mac Address but to contact a remote mac
address (like a ping) ....

"Norm Cook" <normcookNOSPAM@cableone.net> a écrit dans le message de news:
urVsrTL1EHA.2568@TK2MSFTNGP11.phx.gbl...
> http://vbnet.mvps.org/code/network/macaddress.htm
>
> "Guy DETIENNE" <anonymous@discussions.microsoft.com> wrote in message
> news:98db01c4d392$a2ca7640$a601280a@phx.gbl...
>
>



Jim Mack

2004-11-27, 8:56 pm

Guy DETIENNE wrote:
> I don't want to know my local Mac Address but to contact a remote mac
> address (like a ping) ....


How remote is this address? If it is not in your local subnet then the
answer is a definite No, since IP is the framework that lets distant MAC
addresses know each other. They cannot be connected over a public
network, except through IP or a mechanism like it.

Put another way, Layer 2 (MAC) is not routable... Layer 3 (IP) is.

--

Jim Mack
MicroDexterity Inc
www.microdexterity.com


Guy DETIENNE

2004-11-29, 3:56 pm

Theses addresses are in my local subnet.

Thanks

"Jim Mack" <jmack@mdxi.nospam.com> a écrit dans le message de news:
%23EOiY7M1EHA.2180@TK2MSFTNGP10.phx.gbl...
> Guy DETIENNE wrote:
>
> How remote is this address? If it is not in your local subnet then the
> answer is a definite No, since IP is the framework that lets distant MAC
> addresses know each other. They cannot be connected over a public
> network, except through IP or a mechanism like it.
>
> Put another way, Layer 2 (MAC) is not routable... Layer 3 (IP) is.
>
> --
>
> Jim Mack
> MicroDexterity Inc
> www.microdexterity.com
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com