LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-26-2008, 11:36 AM   #1
hug0
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Raw Ethernet


Hi all,
here is what I want to do:
I want to send packets from one PC to another. These packets should be sent as RAW ethernet packets without any further protocol as IP, TCP, UDP ...

So I am using an ethernet II frame and sockets. The ethernet II frame contains the header (dest, src, type), the payload and the checksum (see wikipedia for ethernet II).

My question is, who is generating the checksum. I tried to fill the checksum by hand (setting the last 4 bytes in the buffer) and sent it. I monitored the packets on both PCs via wireshark and was not able to see my checksum.

Does the network adapter override the ethernet II checksum with the correct one and did the receiver adapter check it and remove it?

I didn't find any information about that link layer checksum and would be grateful for any hints!

Thanks, Florian
 
Old 02-26-2008, 11:45 AM   #2
hug0
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0
yiha, my second post, so I can put links in here ..

Ethernet II frame:
http://en.wikipedia.org/wiki/Ethernet_II_framing
 
  


Reply



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
Tripped over ethernet cord, ethernet doesn't work anymore 1veedo Linux - General 2 10-20-2007 11:02 PM
Problem with ethernet card [Marvel Yukon Ethernet controller] in Fedora 4 me4linux Linux - Hardware 3 03-28-2007 02:39 PM
ethernet card SiS 900-Based PCI Fast Ethernet Adapter Not Detected pathan_azhar Linux - Networking 0 08-13-2006 04:15 AM
PCMCIA ethernet driver loaded --now what? How do I access ethernet? KWTm Linux - Hardware 3 07-10-2006 01:07 PM
Raw Ethernet Sockets alanwolfen Programming 2 01-06-2005 06:51 PM

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

All times are GMT -5. The time now is 11:43 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