LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-29-2016, 01:31 AM   #1
pjlnaveen
LQ Newbie
 
Registered: Apr 2016
Posts: 3

Rep: Reputation: Disabled
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
 
Old 04-29-2016, 05:13 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
128.0.0.16 is a routable public address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorrect Metadata Area Header Checksum ncl99 Gentoo 2 05-02-2013 07:49 AM
[SOLVED] Want to remove a few bytes from the header of several binary files Zero Angel Programming 11 09-16-2011 01:40 PM
can i add my own field(of 2 bytes) in the ip header structure raklo Linux - Networking 5 08-18-2011 02:17 PM
postfix X-extra-header-information: paul_mat Linux - Software 1 05-16-2006 04:10 PM
LVM Error: incorrect metadata area header checksum neillans Linux - General 1 02-28-2006 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration