TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Any lightweight protocol on top of Ethernet without TCP/IP?

7 pointsby hydroid7about 2 years ago
Hi there, I&#x27;m looking for a protocol that is directly on top of Ethernet without TCP&#x2F;IP. The goal is that an FPGA board can directly communicate with a Linux PC or and STM32 without the need of complete TCP&#x2F;IP stack.<p>I was looking into TIPC [1] over Ethernet, but it seems also complex to implement in FPGA.<p>Do you know any suggestions?<p>[1]: http:&#x2F;&#x2F;tipc.io&#x2F;

5 comments

tony-allanabout 2 years ago
You can send raw packets with something like this [1] [2].<p>I imagine you want to test the approach is software before implementing it in an FPGA.<p>You can then construct Ethernet frames to be as simple as you like [3].<p>This question seems like what you might be trying to do [4].<p>[1] <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;12229155&#x2F;how-do-i-send-a-raw-ethernet-frame-in-python" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;12229155&#x2F;how-do-i-send-a...</a><p>[2] <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;57133295&#x2F;how-can-i-listen-for-raw-ethernet-frames-in-vanilla-python-3" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;57133295&#x2F;how-can-i-liste...</a><p>[3] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ethernet_frame" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ethernet_frame</a><p>[4] <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;815758&#x2F;simple-serial-point-to-point-communication-protocol" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;815758&#x2F;simple-serial-poi...</a>
评论 #35739183 未加载
teleforceabout 2 years ago
There&#x27;s a new protocol in town called Shortest Path Bridging (SPB) or 802.1aq and in the near future it will be huge [1]. It&#x27;s an open standard by IEEE and expect it to be everywhere soon if the networking vendors start to support it by default.<p>You can use it without TCP&#x2F;IP because it depends on IS-IS protocol hence no need for IP [2].<p>The wonderful thing about running without TCP&#x2F;IP in your private is that the chance of getting compromised over the Internet is zero unless someone pull a Stuxnet style attack on your network. But the chance that is happening in your private network is very slim.<p>[1]IEEE 802.1aq:<p><a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;IEEE_802.1aq" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;IEEE_802.1aq</a><p>[2]Shortest Path Bridging&#x2F;fabric networks 101 - part 2:<p><a href="https:&#x2F;&#x2F;www.linkedin.com&#x2F;pulse&#x2F;shortest-path-bridgingfabric-networks-101-part-2-johnny-hermansen" rel="nofollow">https:&#x2F;&#x2F;www.linkedin.com&#x2F;pulse&#x2F;shortest-path-bridgingfabric-...</a>
toast0about 2 years ago
Realistically, UDP&#x2F;IP is going to be your least complicated and best supported option.<p>PEP&#x2F;IPX could be an option except IPX support is likely hard to find these days. Anything else is going to need privileged execution, which maybe is fine.<p>UDP&#x2F;IP isn&#x27;t too hard... To do it right, you probably want dhcp or ipv6 router advertisement support, and arp or neighbor discovery protocol. But if you don&#x27;t want to do it right, you can abuse broadcast packets quite a bit.
johndoe0815about 2 years ago
UDP over IP should be feasible, see <a href="https:&#x2F;&#x2F;www.fpga4fun.com&#x2F;10BASE-T.html" rel="nofollow">https:&#x2F;&#x2F;www.fpga4fun.com&#x2F;10BASE-T.html</a>
评论 #35738761 未加载
cftabout 2 years ago
Out of curiosity why cannot you use raw Ethernet packets?