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: 351
  • Last Modified:

Ethernet Packet Corruption

Hello,

I have developed a device driver for RTL8139 (c) ethernet card and I have encountered a problem while transmitting the packets.

The following set up is used to check for the transmission

1) Host A transmits an ARP packet to Host B.
2) Packets are captured on Host B using a sniffer.

Problem:
Ethernet Packets are getting corrupted on transmission to the Host B. This is checked by using a sniffer on Host B.

The following observations are made while packets are transmitted:
1) Every time a packet is transmitted, the entire frame takes new corrupted value
(ethernet destination address, source address, protocol type, data (ARP packet)).
2) TSAD register points to the correct physical address of the buffer and contents of the buffer
doesn't get changed. However, the packet is corrupted while transmission.  

Kindly tell me what may be the reason for the data corruption?

Thanks in Advance...
0
Thanks-in-advance
Asked:
Thanks-in-advance
1 Solution
 
pseudocyberCommented:
The most common form of layer 2 corruption is from a duplex mismatch.  Make sure all devices are configured correctly for speed and duplex.  Auto-Auto, or Full Duplex-Full Duplex.  Do not mix.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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