Networking Forums

Networking Forums > Computer Networking > Linux Networking > raw ethernet packets

Reply
Thread Tools Display Modes

raw ethernet packets

 
 
Pirabhu Raman
Guest
Posts: n/a

 
      12-13-2004, 03:21 PM
Hi,

I am trying to learn raw sockets and I have a specific question. I want to
send a custom Ethernet packet (non IP, ARP, PUP, RARP) to a specific
destination (whose address I don't know) through broadcast.

What do I need to do to process this packet at destination? Do I need to add
fields in netpacket/packet.h etc or can I simply receive all raw Ethernet
packets and process the one I need while ignoring other packets?

How will this packet be processed at other nodes in the network. Will the
device drivers of other nodes ignore the packet silently or will they
report/log any unknown packet received errors?

Thanks in advance for any pointers.

Pirabhu
--



 
Reply With Quote
 
 
 
 
Brendon Caligari
Guest
Posts: n/a

 
      12-17-2004, 08:11 AM
Pirabhu Raman wrote:
> Hi,
>
> I am trying to learn raw sockets and I have a specific question. I want to
> send a custom Ethernet packet (non IP, ARP, PUP, RARP) to a specific
> destination (whose address I don't know) through broadcast.
>
> What do I need to do to process this packet at destination? Do I need to add
> fields in netpacket/packet.h etc or can I simply receive all raw Ethernet
> packets and process the one I need while ignoring other packets?
>
> How will this packet be processed at other nodes in the network. Will the
> device drivers of other nodes ignore the packet silently or will they
> report/log any unknown packet received errors?
>
> Thanks in advance for any pointers.
>
> Pirabhu


IP is networking protocol over Ethernet (on an Ethernet lan) and can
co-exist with other networking protocols harmoniously.

Google around for "raw Ethernet" and "programming ethernet frames"..
....amongst the links this came straight up

http://www.landshut.org/bnla01/membe...raw/index.html

B
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help in designing valid ethernet packets? avi01 Linux Networking 1 05-13-2008 04:42 AM
linux api's to generate ethernet packets sudip05@mailcity.com Linux Networking 1 04-28-2008 12:34 PM
netstat -s output: "packets pruned" and "packets collapsed" roybatty Linux Networking 0 07-20-2007 08:44 PM
Newbie wants to look at other people's packets (promiscuous mode fails to capture packets) George D. Wireless Internet 1 07-14-2007 07:09 AM
problem setting up moto we800g ethernet bridge with linksys ethernet router I'm NOT DON Windows Networking 0 05-30-2005 07:50 PM



1 2 3 4 5 6 7 8 9 10 11