{"id":3582,"date":"2024-03-19T20:41:00","date_gmt":"2024-03-20T03:41:00","guid":{"rendered":"https:\/\/digitalnigel.com\/wordpress\/?p=3582"},"modified":"2024-10-11T17:14:03","modified_gmt":"2024-10-12T00:14:03","slug":"switch-router-learning-platform","status":"publish","type":"post","link":"https:\/\/digitalnigel.com\/wordpress\/?p=3582","title":{"rendered":"Switch \/ Router Learning Platform"},"content":{"rendered":"\n<p>I&#8217;ve been interested for a while in playing with ethernet switching on a hardware level, and decided to put together a platform to play with routing and switching hardware with a Raspberry Pi compute module, and an &#8216;off the shelf&#8217; switching chip available commercially.<\/p>\n\n\n\n<p>The switch chip I ended up choosing is the KSZ9477 from Microchip, with seven gigabit interfaces, including an SGMII interface for an SFP cage. While this device can&#8217;t hold a candle to the big-boy chips from Broadcom that a lot of the big network vendors use, I can&#8217;t source those, and the fundamentals should be reasonably accessible with the Microchip device.<\/p>\n\n\n\n<p>The device is configured using Python scripts on the Pi talking SPI to the switch chip to configure ports, vlans, and read out things like the interface counters. The Pi can be configured with multiple VLAN interfaces to handle routing functions.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"3585\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-1024x768.jpg\" alt=\"\" class=\"wp-image-3585\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-1024x768.jpg 1024w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-300x225.jpg 300w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-150x113.jpg 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-768x576.jpg 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-1536x1152.jpg 1536w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1121-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"3583\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-1024x768.jpg\" alt=\"\" class=\"wp-image-3583\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-1024x768.jpg 1024w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-300x225.jpg 300w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-150x113.jpg 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-768x576.jpg 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-1536x1152.jpg 1536w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1131-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"3584\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-1024x768.jpg\" alt=\"\" class=\"wp-image-3584\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-1024x768.jpg 1024w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-300x225.jpg 300w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-150x113.jpg 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-768x576.jpg 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-1536x1152.jpg 1536w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2024\/10\/IMG_1133-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p>The hardware design files, and if I ever get around to it some of the software scripts, are available on <a href=\"https:\/\/github.com\/nigelvh\/ABYSSAL_VOID01\/\" data-type=\"link\" data-id=\"https:\/\/github.com\/nigelvh\/ABYSSAL_VOID01\/\">GitHub<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been interested for a while in playing with ethernet switching on a hardware level, and decided to put together a platform to play with routing and switching hardware with a Raspberry Pi compute module, and an &#8216;off the shelf&#8217; &hellip; <a href=\"https:\/\/digitalnigel.com\/wordpress\/?p=3582\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,20,6],"tags":[],"class_list":["post-3582","post","type-post","status-publish","format-standard","hentry","category-electronics","category-projects","category-technology"],"_links":{"self":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3582"}],"version-history":[{"count":1,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3582\/revisions"}],"predecessor-version":[{"id":3586,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3582\/revisions\/3586"}],"wp:attachment":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}