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.

SONiC – An Open Source Network Operating System

116 pointsby jamiewebalmost 5 years ago

9 comments

dahfizzalmost 5 years ago
FWIW, I had an absolutely terrible time setting up sonic on an edgecore switch which was &quot;supported&quot;.<p>Everything was a battle. The configuration is very finicky and not well documented, and every time I went to edgecore or sonic for support, they would blame the other party.<p>We did eventually get everything working, but it took hours of tinkering on the configuration. There&#x27;s all sorts of undocumented magic about how ports, interfaces, lanes, etc all have to line up with each other. If it doesn&#x27;t like how you&#x27;ve configured BGP, it will silently fail and refuse to link. And God help you if you have breakout cables. And for some reason, all the services are run in docker containers, which makes it even more painful to debug. Reapplying configurations is slow and buggy in itself, so you have to reboot the switch constantly.<p>Ultimately I find sonic hard to recommend. Yes it&#x27;s free, but I&#x27;m really not sure that&#x27;s a benefit. Any home enthusiast will buy a consumer grade switch with an OS preinstalled, or use OpenWRT. Any business using this for production would be wise to go with a stable product with good support, like Cumulus. As much as I hate how Cisco does business, at least their products will mostly work how you need out of the box.
Conan_Kudoalmost 5 years ago
So my problem with SONiC, Cumulus, and all these other &quot;network operating system&quot; Linux platforms is that they all seem to be designed to be fiefdoms and tend to be really stale. In my view, they bring almost nothing of value to the table.<p>Let&#x27;s talk a bit more about SONiC...<p>For one, SONiC literally lists that pull requests that aren&#x27;t already planned and approved will not be accepted[1]. This defeats a good chunk of the value of having a community project. People will want to contribute and extend your platform in ways you never thought of, and they&#x27;ll do it in a completely decentralized fashion.<p>Another issue I see is that SONiC literally holds back everything to an old Linux kernel and ships random BSP blobs that are unvetted. This is a nasty combination for anyone who wants to consider their NOS trusted or secure. They&#x27;re on a 4.9.x kernel, and while that is still maintained, it is far from the best option if you want to take advantage of innovation in Linux networking.<p>I&#x27;m also generally confused on why this whole project isn&#x27;t just &quot;let&#x27;s get the networking tools and hardware support stuff into standard Linux distributions and leverage their tooling and communities&quot;. This was also a problem I had with Cumulus. When I tore apart Cumulus, I figured out that it was less than a dozen unique tools and a distribution rebuilt for 32-bit MIPS and PowerPC. It was pretty trivial to rebase to standard Fedora or Debian and get a better platform out of it.<p>And finally, I don&#x27;t really think this provides any real innovation. It&#x27;s not really different from Cumulus, Open Network Linux, and others. And ONL actually is using more up to date kernels (5.4.x as of right now!) and offers better networking tools!<p>What I would <i>love</i> to see is all these people who keep doing this crap working in the actual Linux distribution communities to build and integrate with upstream projects so that everyone downstream gets all kinds of flexibility.<p>Imagine if you had a flavor of Fedora CoreOS for your network gear! The immutable OS, updated with RPM-OSTree, fresh software stack, and broad hardware support, all in one neat package.<p>If we treated the network gear like weaker servers, instead of specialty equipment, there&#x27;s so many more interesting things you can do!<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;Azure&#x2F;SONiC&#x2F;wiki&#x2F;Sonic-Roadmap-Planning" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Azure&#x2F;SONiC&#x2F;wiki&#x2F;Sonic-Roadmap-Planning</a>
评论 #23307466 未加载
评论 #23312434 未加载
评论 #23308364 未加载
Cyph0nalmost 5 years ago
Shameless plug: the Cisco 8000 series [1] recently got support for SONiC [2].<p>Right now, I believe it’s limited to fixed systems, but work is ongoing to get SONiC running on the distributed chassis. Exciting stuff!<p>[1]: <a href="https:&#x2F;&#x2F;www.cisco.com&#x2F;c&#x2F;en&#x2F;us&#x2F;products&#x2F;routers&#x2F;8000-series-routers&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.cisco.com&#x2F;c&#x2F;en&#x2F;us&#x2F;products&#x2F;routers&#x2F;8000-series-r...</a><p>[2]: <a href="https:&#x2F;&#x2F;blogs.cisco.com&#x2F;sp&#x2F;cisco-goes-sonic-on-cisco-8000" rel="nofollow">https:&#x2F;&#x2F;blogs.cisco.com&#x2F;sp&#x2F;cisco-goes-sonic-on-cisco-8000</a>
teleforcealmost 5 years ago
If you want an overview of of the state-of-the-art open source networking stack, you can check this last year FOSDEM 2019 presentation by one of the developers of BISDN [1]. Somehow I don&#x27;t think they mentioned SONiC in their presentation though.<p>I teach computer networking lab but for now we need to resort using dual boot Linux Switch Appliance (LISA) that uses custom kernel and another vanilla kernel running Quagga on multi-port Ethernet embedded PC. The good thing is that both LISA and Quagga use CLI environment similar to familiar Cisco switch&#x2F;router IOS. I really wish there is an open source alternative offering that can seamlessly support layer 2 and layer 3 without dual boot, perhaps using Software Defined Networking (SDN) concept with an intuitive CLI.<p>Recently the new Shortest Path Bridging (SPB) has been integrated with 802.1Q since 2018 (bye-bye TRILL). I reckon any reasonably good Linux based open source layer 2 and 3 network OS player will be extremely popular overnight for enterprise, consumer and education. Together with eBPF this thing should be flying on the new off-the-shelf whitebox supporting 40Gbps multi-port Ethernet. Imagine a LAN or Metro LAN party with this beast :-)<p>[1]<a href="https:&#x2F;&#x2F;archive.fosdem.org&#x2F;2019&#x2F;schedule&#x2F;event&#x2F;from_closed_to_open_source_switch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;archive.fosdem.org&#x2F;2019&#x2F;schedule&#x2F;event&#x2F;from_closed_t...</a>
musicalealmost 5 years ago
Not really a &quot;network&quot; operating system since it doesn&#x27;t seem to manage a network consisting of multiple devices the way something like ONOS, OpenDaylight or FAUCET would.<p>More like a &quot;switch&quot; operating system - it looks like SONiC is Microsoft&#x27;s answer to ONL, Stratum, OpenSwitch, Cumulus et al.. Basically open source software to run on your cheap whitebox (or expensive greybox) switch.
iptransalmost 5 years ago
Obligatory link to tutorial on how to run Sonic on an Arista switch:<p><a href="https:&#x2F;&#x2F;www.servethehome.com&#x2F;get-started-with-40gbe-sdn-with-microsoft-azure-sonic-for-under-1k&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.servethehome.com&#x2F;get-started-with-40gbe-sdn-with...</a>
liotieralmost 5 years ago
Linux-based. How is SONiC positioned vs. Cumulus ?
评论 #23303068 未加载
评论 #23303470 未加载
austincheneyalmost 5 years ago
How does this compare with existing switch OSs from Cisco and Juniper? Linux seems like it would be a bit heavy for a switch.
评论 #23303516 未加载
评论 #23303552 未加载
评论 #23306789 未加载
评论 #23316663 未加载
评论 #23303502 未加载
评论 #23303493 未加载
评论 #23303443 未加载
评论 #23303839 未加载
badrabbitalmost 5 years ago
Arista&#x27;s EOS is open source and up to the task, it would be awesome if there was a fork of it supporting whitebox gear.
评论 #23304131 未加载