MAC header Incorrect and extra 2 bytes seen in Ethernet header
Hi,
I am trying to send a packet to a local interface hosted on 128.0.0.16 IP in the same Linux machine (kind of loop back). I had opened a RAW socket and sending packets using sendto(). In the TCPDUMP, the IP header seems to be properly formed by the IP stack. But the Ethernet header seems to be messed up. Destination MAC (00:00:03:04:00:06) looks incorrect and the Source MAC is 0. Also i see an additional 2 bytes of 0s before IP EthType.
Can someone be able to help me with this? This packet is not reaching the destination socket (in the same Linux m/c).
06:23:22.584828 IP dvc0 > dvc0: ip-proto-84 80
0x0000: 0000 0304 0006 0000 0000 0000 0000 0800 <=====
0x0010: 4500 0064 79ae 4000 4054 c077 8000 0010
0x0020: 8000 0010 0400 0207 0000 0000 003c 0000
0x0030: 0000 0000 0000 0000 4500 003c 0000 0000
0x0040: 40ff bf75 0101 0101 0101 0102 ffff ffff
0x0050: ffff ffff ffff ffff ffff ffff ffff ffff
0x0060: ffff ffff ffff ffff ffff ffff ffff ffff
0x0070: ffff ffff
Regards
Peter N
|