Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • 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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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