Use of OUI in SNAP for defining a 'proprietary' protocol

Use of OUI in SNAP for defining a 'proprietary' protocol

NewsGroups | Search | Tools
 comp.dcom.lans.ethernet  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Use of OUI in SNAP for defining a 'proprietary' protocol Yxan 06-17-2005
Posted by Yxan on June 17, 2005, 5:17 am
If you were  Registered and logged in, you could reply and use other advanced thread options


Hi there,

The company I work for is registered at IEEE for an OUI that we use in
our ethernet connected embedded devices.

We are currently running the TCP/IP protocol(s), but we would now like
to implement a 'proprietary' protocol that we could use for
upgrading/managing the firmware in these devices.

My question is, could we use our OUI in some way to 'define' the
protocol without violating any "Ethernet standards".

(1) Can I use a 802.3 SNAP frame....
+----------+---------+----------+-----------+----------+
|802.3 MAC |802.2 LLC|802.2 SNAP|Data | CRC |
|Header |Header |Header |(38 to | Checksum |
|(14 bytes)|(3 bytes)|(5 bytes) |1492 bytes)| (4 bytes)|
+----------+---------+----------+-----------+----------+

....and in the 802.2 SNAP header ...
+---------------------+---------+
|OUI (Organizationally|Type |
|Unique Id) |(2 bytes)|
|(3 bytes) | |
+---------------------+---------+

.....use the OUI of my company to define a set of 65536 types of
protocols??




(2) Use of "ethertype" 888D.
When looking at the list of registered 'ethertypes'
(http://standards.ieee.org/regauth/ethertype/eth.txt), I saw type 888D.
Can this one could be used??




Any comments?

Regards
/Yxan



Pure Networks
Posted by Rich Seifert on June 17, 2005, 7:50 am
If you were  Registered and logged in, you could reply and use other advanced thread options



>
> The company I work for is registered at IEEE for an OUI that we use in
> our ethernet connected embedded devices.
>
> We are currently running the TCP/IP protocol(s), but we would now like
> to implement a 'proprietary' protocol that we could use for
> upgrading/managing the firmware in these devices.
>
> My question is, could we use our OUI in some way to 'define' the
> protocol without violating any "Ethernet standards".
>
> (1) Can I use a 802.3 SNAP frame....

> ...and in the 802.2 SNAP header ...

> ....use the OUI of my company to define a set of 65536 types of
> protocols??
>
>

That is precisely the purpose of the OUI field in the SNAP header. Along
with your OUI, you get 64K private protocol types.

(The use of an 00-00-00 "OUI" in the SNAP header means that the protocol
type field in the SNAP header is interpreted as if it were the protocol
type field in a Type encapsulated Ethernet frame, i.e., a public
protocol type.)

>
>
> (2) Use of "ethertype" 888D.
> When looking at the list of registered 'ethertypes'
> (http://standards.ieee.org/regauth/ethertype/eth.txt), I saw type 888D.
> Can this one could be used??
>

If you put your OUI in the SNAP OUI field, the semantics of the protocol
ID field are completely private. You can use any Pid you like; it means
whatever you want it to mean.

If you use the 00-00-00 OUI in the SNAP OUI field, the semantics of the
Pid field are publicly defined. 0x888D is assigned for FibreChannel use.
Do you plan to use the semantics of Pid 0x888D (and I have no idea what
those semantics are) for your new management protocol? If not, then
don't use that protocol type.

Alternatively, you could use the OUI-Extended Ethertype (0x88B7) format,
which provides for OUI-specific, private protocols without using an
LLC/SNAP header. In addition, you can use one of the "Playpen"
Ethertypes (0x88B5, 0x88B6) for private protocol development, but these
should not be used in "production," i.e., final products. See IEEE
802a-2003 for a discussion of these alternative mechanisms.


--
Rich Seifert Networks and Communications Consulting
21885 Bear Creek Way
(408) 395-5700 Los Gatos, CA 95033
(408) 228-0803 FAX

Send replies to: usenet at richseifert dot com


Posted by Yxan on June 17, 2005, 10:16 am
If you were  Registered and logged in, you could reply and use other advanced thread options


OK, so I can use the SNAP header to define my own protocol.
Great that means that I will not violate any standard.

Where can I find information about the "0x88B7-protocol".
I did a quick search on the web but couldn't find anything.
(I guess it nothing more but a header??)

Since I'm writing the firmware in my embedded device without any OS I
can use either the SNAP or the 0x88B7 solution.
But what about sending my own protocol from a windows application? Can
I use the windows socket API?
I know that this is not an windows API or driver group but does anyone
have some information about "bypassing" the TCP/IP stack when using
sockets.

Regards
/Yxan/



Posted by Yxan on June 17, 2005, 12:44 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


OK, I found it myself.
http://standards.ieee.org/getieee802/download/802a-2003.pdf
(I guess this/these protocols isn't widley used considering that one
will get no "hits" at all when doing a search for "88B7 oui" in the
usenet groups)

This will allow me to implement a 'light-weight' protocol (not needing
to enable the TCP/IP stack in my embedded device while upgrading the
firmware)

Any information regrading implementing this 'proprietary' protocol in
windows (in an executable) without having to install any drivers would
be appreciated.
/Yxan/



Posted by nobody on June 20, 2005, 12:52 am
If you were  Registered and logged in, you could reply and use other advanced thread options


"Yxan" wrote:
> OK, I found it myself.
> http://standards.ieee.org/getieee802/download/802a-2003.pdf
> (I guess this/these protocols isn't widley used considering that one
> will get no "hits" at all when doing a search for "88B7 oui" in the
> usenet groups)
>
> This will allow me to implement a 'light-weight' protocol (not needing
> to enable the TCP/IP stack in my embedded device while upgrading the
> firmware)

I am dealing with essentially the same issue. Since my application will
be required to send messages that exceed the maximum length of the data
field for either the "OUI Extended Ethertype" 0x88B7 encapsulation or the
SNAP encapsulation, I will need to implement a lightweight fragmentation
and reassembly layer, and it turns out that having the length field is
convenient for that purpose. So I plan to use the SNAP encapsulation.

> Any information regarding implementing this 'proprietary' protocol in
> windows (in an executable) without having to install any drivers would
> be appreciated.

As far as I am able to tell, you will need to write a Windows kernel
driver to do this, regardless of which encapsulation you use. The
Windows Driver Development Kit is a prerequisite for building such a
driver. Technical information on the DDK is available here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/network/hh/network/ndisref_d1b19c25-6051-41b8-ba93-1cb615133a00.xml.asp

and it can be ordered here:

http://www.microsoft.com/whdc/devtools/ddk/orderddkcd.mspx

If you find a way to avoid building a Windows kernel driver, please post
that information on this newsgroup.

Thanks,

nobody


Similar ThreadsPosted
Ethernet VLAN using LLC/SNAP encapsulation October 22, 2007, 8:52 pm
Tip: Finding A Nortel Networks Dealer Near You Is A Snap October 11, 2006, 4:35 pm
how to communicate protocol less January 29, 2006, 4:29 am
Spanning Tree Protocol June 5, 2008, 6:38 am
How to test spanning tree protocol July 28, 2006, 1:03 am
private ethernet protocol number March 19, 2008, 12:39 pm
Extreme Networks Spanning Tree Protocol (STP) August 8, 2005, 12:54 am
Help needed about Implementation of "Spanning Tree Protocol" for switch September 16, 2005, 6:54 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map