• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

Ethernet

1/ when we use ifconfig or ipconfig to capture traffic from your computer and examine your MAC address. Does it match each other?

2/Can we determine the code value for IP in the frames we have been captured?
0
Aplle
Asked:
Aplle
1 Solution
 
Rick_O_ShayCommented:
I am not sure what you are asking.
ipconfig on a Windows PC will show you the physical address which is the MAC of the ethernet adapter on the device.

A packet capture will show source and destination MAC and IP addresses and the data of all of the packets sent and received.
0
 
giltjrCommented:
ifconfig is for *nix type OS's.
ipconfig is for Windows

These commands show you specific information about how the NIC is configured, but they are not the same commands.

Neither have anything to do with capturing packets.

If you want to capture network traffic you would need something like Wireshark (which runs on Windows or Linux) or MS's Netmon (runs on Windows only).
0
 
mikebernhardtCommented:
Or tcpdump for Linux. But as stated earlier, ifconfig and ipconfig show your configuration, not your traffic.

In answer to question #2, all of them will show the entire contents of the headers.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now