{"id":75,"date":"2015-11-17T22:29:48","date_gmt":"2015-11-17T20:29:48","guid":{"rendered":"http:\/\/mattyb.co.za\/?p=75"},"modified":"2015-11-17T23:14:45","modified_gmt":"2015-11-17T21:14:45","slug":"so-you-think-you-can-nic","status":"publish","type":"post","link":"https:\/\/mattyb.co.za\/index.php\/2015\/11\/17\/so-you-think-you-can-nic\/","title":{"rendered":"So you think you can NIC?"},"content":{"rendered":"<p>Sometimes\u00a0in life, you get even bigger servers, with MOAR NICs then you can count on one hand.<br \/>\nAt rAge we had 12 of the bad boys.<\/p>\n<p>Here, we will use 5 in a server with 5 x 1 GbE on the Mobo, and an add in card with another 4 NICs.<\/p>\n<p>We will only use 5 for now, as we dont wanna kill that switch so early in its lifetime!<\/p>\n<p>This is what we are working with:<\/p>\n<p><em>root@gamecache:\/# networkctl<\/em><br \/>\n<em>IDX LINK TYPE OPERATIONAL SETUP<\/em><br \/>\n<em> 1 lo loopback n\/a n\/a<\/em><br \/>\n<em> 2 ens7f0 ether n\/a n\/a<\/em><br \/>\n<em> 3 ens7f1 ether n\/a n\/a<\/em><br \/>\n<em> 4 ens4f0 ether n\/a n\/a<\/em><br \/>\n<em> 5 ens4f1 ether n\/a n\/a<\/em><br \/>\n<em> 6 ens5f0 ether n\/a n\/a<\/em><br \/>\n<em> 7 ens5f1 ether n\/a n\/a<\/em><br \/>\n<em> 8 enp12s0f0 ether n\/a n\/a<\/em><br \/>\n<em> 9 enp12s0f1 ether n\/a n\/a<\/em><br \/>\n<em> 10 enp16s0 ether n\/a n\/a<\/em><\/p>\n<p><em>10 links listed.<\/em><\/p>\n<p>That is 9 NICs, all 1GbE. So lets team up!<\/p>\n<p>Here is what we would use in our interfaces file:<\/p>\n<p><em># The loopback network interface<\/em><br \/>\n<em>auto lo<\/em><br \/>\n<em>iface lo inet loopback<\/em><\/p>\n<p><em>#Bond1<\/em><br \/>\n<em>auto bond0<\/em><br \/>\n<em>iface bond0 inet static<\/em><br \/>\n<em> address 192.168.1.33<\/em><br \/>\n<em> netmask 255.255.255.0<\/em><br \/>\n<em> bond-slaves none<\/em><br \/>\n<em>bond-mode 4<br \/>\n<\/em><em style=\"line-height: 1.5;\">bond-miimon 100<\/em><\/p>\n<p><em>#we will use port 1,2,3,4,A21 as we know they work<\/em><\/p>\n<p><em>#Port 1<\/em><br \/>\n<em>auto ens7f0<\/em><br \/>\n<em>iface ens7f0 inet manual<\/em><br \/>\n<em> bond-master bond0<\/em><br \/>\n<em> bond-primary ens7f0 ens7f1 ens4f0 ens4f1 ens5f1<\/em><\/p>\n<p><em>#Port 2<\/em><br \/>\n<em>auto ens7f1<\/em><br \/>\n<em>iface ens7f1 inet manual<\/em><br \/>\n<em> bond-master bond0<\/em><br \/>\n<em> bond-primary ens7f0 ens7f1 ens4f0 ens4f1 ens5f1<\/em><br \/>\n<em>#Port 3<\/em><br \/>\n<em>auto ens4f0<\/em><br \/>\n<em>iface ens4f0 inet manual<\/em><br \/>\n<em> bond-master bond0<\/em><br \/>\n<em> bond-primary ens7f0 ens7f1 ens4f0 ens4f1 ens5f1<\/em><\/p>\n<p><em>#Port 4<\/em><br \/>\n<em>auto ens4f1<\/em><br \/>\n<em>iface ens4f1 inet manual<\/em><br \/>\n<em> bond-master bond0<\/em><br \/>\n<em> bond-primary ens7f0 ens7f1 ens4f0 ens4f1 ens5f1<\/em><\/p>\n<p><em>#Port 5<\/em><br \/>\n<em>auto enp16s0<\/em><br \/>\n<em>iface enp16s0 inet dhcp<\/em><\/p>\n<p><em>#Add on 2 Port 1<\/em><br \/>\n<em>auto ens5f1<\/em><br \/>\n<em>iface ens5f1 inet manual<\/em><br \/>\n<em> bond-master bond0<\/em><br \/>\n<em> bond-primary ens7f0 ens7f1 ens4f0 ens4f1 ens5f1<\/em><\/p>\n<p><em>#Add on 2 Port 2<\/em><br \/>\n<em>#auto ens5f0<\/em><br \/>\n<em>#iface ens5f0 inet dhcp<\/em><br \/>\nQuite a few NICs, and now we have 5Gbps at hand, with a total of 9 if we need in future.<\/p>\n<p>Off to the DC we go!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes\u00a0in life, you get even bigger servers, with MOAR NICs then you can count on one hand. At rAge we had 12 of the bad boys. Here, we will use 5 in a server with 5 x 1 GbE on the Mobo, and an add in card with another 4 NICs. We will only use &hellip; <a href=\"https:\/\/mattyb.co.za\/index.php\/2015\/11\/17\/so-you-think-you-can-nic\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">So you think you can NIC?<\/span> <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":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p71fL2-1d","jetpack-related-posts":[{"id":90,"url":"https:\/\/mattyb.co.za\/index.php\/2016\/03\/09\/rage-cape-town-2016\/","url_meta":{"origin":75,"position":0},"title":"rAge Cape Town 2016","author":"admin","date":"March 9, 2016","format":false,"excerpt":"So, with the event fast approaching, planning is well under way for rAge Cape Town 2016. Sadly since the event is fairly\u00a0small this year, with only a few hundred gamers, which means there is a limited budget. This is still okay, I will be paying my way and heading down\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rageexpo.co.za\/wp-content\/media\/rage-website-header-banner20457.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rageexpo.co.za\/wp-content\/media\/rage-website-header-banner20457.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rageexpo.co.za\/wp-content\/media\/rage-website-header-banner20457.jpg?resize=700%2C400 2x"},"classes":[]},{"id":16,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/09\/30\/rage-2015-post-3\/","url_meta":{"origin":75,"position":1},"title":"rAge 2015 Post 3","author":"admin","date":"September 30, 2015","format":false,"excerpt":"Today we add nginx to out Monitorix, and install BandwidthD\u00a0for extra bandwidth monitoring. I would like to see who our biggest bandwidth movers are. I use\u00a0bandwidthd on a few PFSense boxes I run, and I love the way it works :) Nginx seems to have its own monitoring running on\u2026","rel":"","context":"In &quot;rAge 2015&quot;","block_context":{"text":"rAge 2015","link":"https:\/\/mattyb.co.za\/index.php\/category\/rage-2015\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":82,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/12\/07\/vlan-much\/","url_meta":{"origin":75,"position":2},"title":"VLAN much?","author":"admin","date":"December 7, 2015","format":false,"excerpt":"So, in my own setup at home, I had alot of physical stuff. I had 1 x PC with PFSense, and that had 3 x NICs. Then I have 1 x NAS server with a few drives in it, running FreeNAS. And a VMWare host runing ESXi, for small projects.\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/11\/29\/wait\/","url_meta":{"origin":75,"position":3},"title":"WAIT!","author":"admin","date":"November 29, 2015","format":false,"excerpt":"Who wants to wait around for other people\/things? Defiantly not your cache server, and if it is waiting around, then there could be a problem somewhere. See my case below: The server has only 4 CPUs, and its load average is almost double that. Wow, why is there so much\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"system1z.1day","src":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/11\/system1z.1day.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/11\/system1z.1day.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2015\/11\/system1z.1day.png?resize=700%2C400 2x"},"classes":[]},{"id":99,"url":"https:\/\/mattyb.co.za\/index.php\/2017\/03\/08\/vmware-and-bonding\/","url_meta":{"origin":75,"position":4},"title":"VMWare and Bonding&#8230;","author":"admin","date":"March 8, 2017","format":false,"excerpt":"So, I have a little home VMWare stack at home, 2 x physical systems with 2 x 1gbps eth each... I configured the ports as LACP LAGs, for MAOR BANDWIF. And because I have a switch that can do it so why not? I had previously setup my NICs on\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2017\/03\/badlags.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2017\/03\/badlags.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2017\/03\/badlags.png?resize=700%2C400 2x"},"classes":[]},{"id":147,"url":"https:\/\/mattyb.co.za\/index.php\/2020\/08\/12\/routers-are-secure-right-asus-lyra-hacked\/","url_meta":{"origin":75,"position":5},"title":"Routers are secure, right? Asus Lyra hacked.","author":"admin","date":"August 12, 2020","format":false,"excerpt":"We take the small things for granted in life. Like, say breathing. Or, the security on our embedded network devices... As our devices become more and more complicated and sophisticated, we use them in the hope that so are their security features become more advanced at the same time. Sure,\u2026","rel":"","context":"In \"asus\"","block_context":{"text":"asus","link":"https:\/\/mattyb.co.za\/index.php\/tag\/asus\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2020\/08\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2020\/08\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mattyb.co.za\/wp-content\/uploads\/2020\/08\/image.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":2,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":77,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/75\/revisions\/77"}],"wp:attachment":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}