PDA

View Full Version : Playing UDP packets on different NICs


ihandler
November 30th, 2008, 07:46 AM
Is it possible to playback and receive UDP packets on different NICs (network interface cards) that were used to transmit and receive the original packets?
I tried to use Colasoft Packet Player with no success.
Explanation: I try to capture packets sent from computer A to computer B on my LAN. I want this file to be played on a different LAN (i.e. computer A' tansmits the packets to computer B').
I beleive that it does not work because the MAC addresses of the computers are not identical.

Nelson
December 3rd, 2008, 01:07 AM
Actually it works.

MAC address is just used for identification.
In fact a NIC can encapsulate the frames/packets with any MAC address.
A burned in MAC address is merely an allocated ID rather than a fixed number you have to hold it through your entire life.

Main idea: the MAC address in the packets is irrelated to the burnned in MAC addree of your NIC.

Examples:
1) ARP poisoning.
2) virtual machine in briging network mode. The virtual use the same physical NIC of the "real" machine, but appears as different MAC <-> IP pairs.

You can simply change your MAC address in the NIC config tab.

Conclusion: Physical MAC address difference will not affect the packet player from playing packets with any MAC address.