This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to find MAC Address of Default Gateway ?

0

This is my first question here. I am on a LAN and I need to find the MAC Address for my default gateway. Googling out said that I have to use packet capture to do this, so I want to use Wireshark. Thanks.

asked 04 Apr '14, 04:26

sreyan32's gravatar image

sreyan32
16113
accept rate: 0%


One Answer:

0

No need to use Wireshark, even though you could. It is usually much easier just to use a couple of system commands to find that one out.

E.g. on Windows, run "ipconfig /all" on a command line to see the IP address of your gateway. Then ping that IP. Finally, run "arp -a" and find the gateway IP. Next to it you'll see the MAC address.

If you want to do it with Wireshark, ping the gateway and capture the ICMP packets. Look at the ethernet layer for the echo request destination MAC.

answered 04 Apr '14, 04:37

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

Thanks Jasper

(04 Apr '14, 04:42) sreyan32