0

I invented a two-layer protocol using Hamming code instead of FCS verification, to detect and fix single bit error. However, this protocol cannot be implemented because I have no way to send this special frame. I have found some similar problems on this site, but none of them worked.

How do you send an Ethernet frame with a corrupt FCS?

The method of receiving side in this link is effective. I have received some Ethernet frame containing FCS. However, at the sender side, the Python code in the link didn't work. The C language code given in other answers of this link didn't work either, even if I used a virtual machine with E1000 network adapter as stated in the annotation. Anyway, the hardware always added the right FCS to me on its own.

I am now very sure that this goal cannot be achieved by using the existing standardized equipment. However, I've also heard that it's very common to customize a data link layer, like Xbox Wireless which also customized its frame structure according to 802.11. Thus, I really want to know what device can customize firmware. I majored in software, so I know really little about hardware.

Thank you in advance.

  • 1
    The FCS is part of the ethernet standard, and it is usually added and checked in the hardware. Anything else is not ethernet, and you cannot use ethernet hardware with anything but ethernet. Other protocols (PPP, SLIP, HDLC, etc.) have been built on serial interfaces, an You could probably test on that. Your other choice is to build a protocol carried inside ethernet, e.g. PPPoE). – Ron Maupin Sep 13 '21 at 02:27

0 Answers0