Re: Use of ethernet frame without TCP/IP




You could setup a private IP network, using addresses from the private
blocks detailed in [RFC1918].

I need to encapsulte the data in the ethernet frame without using TCP/
IP . Only just the length parameter in the EtherType/Length field of
ethernet frame . Is this possible ?
If yes , how can it be done ?

Well, yes, altough the details depend on the software you're using.
Under linux opening a raw ethernet socket (which probably requires
root rights) is a possibility.

Question is, what made you conclude you need to bypass the IP stack and
dispense with its services?

As noted above, there is a way to use IP addresses while not connected
to the internet. I think doing that will likely be simpler and easier.


Well , if I want to talk between 2 ethernet devices directly ( both in
same LAN) , won't the bypassing of IP stack provide me with better
latency , avoiding overhead of IP header ( or maybe TCP header ) .

.



Relevant Pages

  • Re: Integration of SCST in the mainstream Linux kernel
    ... In fact the "layers" above ethernet do provide the services ... The TCP/IP stack pathlength is decently low. ... latency numbers but I ... that are inherited by anything on ethernet (FcOE included). ...
    (Linux-Kernel)
  • Re: Two Ethernet Port Configuration
    ... ethernet controllers type. ... The BSD networking stack (upon which the VxWorks 5.5.1 network stack ... has to go through that one particular interface. ...
    (comp.os.vxworks)
  • Re: Two Ethernet Port Configuration
    ... ethernet controllers type. ... The BSD networking stack (upon which the VxWorks 5.5.1 network stack ... has to go through that one particular interface. ...
    (comp.os.vxworks)
  • IP stack for old VAX
    ... To keep this system running for at least short time, ... going to have to put an IP stack on it. ... The ethernet had been used for DECnet in the past. ...
    (comp.os.vms)
  • Re: Two Ethernet Port Configuration
    ... ethernet controllers type. ... If you use 255.255.255.0, then the stack will ... has to go through that one particular interface. ... All the 4 ethernet ports are on the same network. ...
    (comp.os.vxworks)