|
Posted by Allan Herriman on March 20, 2008, 1:40 pm
If you were Registered and logged in, you could reply and use other advanced thread options On Wed, 19 Mar 2008 09:39:26 -0700 (PDT), siganosd@googlemail.com
wrote:
>I would like to connect to linux hosts using ethernet but without
>using IP.
>I want to communicate only with raw ethernet packets and I plan to use
>packet sockets.
>
>The question I have is this: what ethernet protocol number should I
>use?
>
>I need a range that is assigned as private/experimental or something
>similar.
>To help you understand what I am talking about, the IP protocol number
>is 0x800 and the ARP protocol number is 0x806.
>
>Please don't tell me to use UDP or IP or anything else instead. There
>are specific reasons for wanting to use raw ethernet packets.
We had a similar need, and ended up buying an "official" protocol
number. The process was surprisingly painless.
>I need a range
I suggest that you stick to a single protocol number instead of a
range of protocol numbers (and use a subsequent field in the frame to
carry the extra information). If your idea becomes successful, you
will want to make the protocol number official, and it's somewhat
harder to buy a range than just a single number. The entire space is
less than 2^16, so they don't want to waste it.
[slightly apocryphal tale] Our software guy had to choose a number to
use for prototyping our protocols. We told him to fuck off. And
that's the number we still have, only now it's official: 0xFC0F.
Regards,
Allan
|