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?
AplleAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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).
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Analysis

From novice to tech pro — start learning today.