The first 4 bits in both headers is the Version. For IPv4, the field contains 0100 (binary 4), and for IPv6, the field contains 0110 (binary 6). This version field is what allows the layer 2 (Ethernet II) frame to populate its Type field. A version field that doesn't contain 4 (0100) or 6 (0110) could indicate a problem.