{"id":82,"date":"2015-12-07T08:43:45","date_gmt":"2015-12-07T06:43:45","guid":{"rendered":"http:\/\/mattyb.co.za\/?p=82"},"modified":"2015-12-07T08:43:45","modified_gmt":"2015-12-07T06:43:45","slug":"vlan-much","status":"publish","type":"post","link":"https:\/\/mattyb.co.za\/index.php\/2015\/12\/07\/vlan-much\/","title":{"rendered":"VLAN much?"},"content":{"rendered":"<p>So, in my own setup at home, I had alot of physical stuff.<\/p>\n<p>I had 1 x PC with PFSense, and that had 3 x NICs.<br \/>\nThen I have 1 x NAS server with a few drives in it, running FreeNAS.<br \/>\nAnd a VMWare host runing ESXi, for small projects.<\/p>\n<p>So I took the PFsense and put it on the ESXi host, which got rid of some of the hardware I had to have sitting around, but this created a problem on its own.<\/p>\n<p>I have 2 x ADSL routers, and I need to do a PPPOE out of each.<br \/>\nI have to dial out of each, and try to separate them somehow, so that PFSense doesn&#8217;t do 2 x PPPOE connections through the same router.<\/p>\n<p>And after a weekend of Googling, blood, tears, etc, I got it right.<\/p>\n<p>In VSphere, I created a VLAN for the WAN interface the PFSense box will use, and added this to VLAN 4095, so it was able to be in whatever VLAN it wanted.<\/p>\n<p>Then I was able to create 2 VLAN interfaces inside PFSense. VLAN 2 and VLAN 3.<br \/>\nThese were then set-up on my managed switch, and I added with ports of the ADSL routers to this VLAN, so that they were able to talk to VLAN 2 and 3 respectively.<\/p>\n<p>This seemed to work, and the PFSense was now able to talk to the Router in if own VLAN.<\/p>\n<p>Then in PFSense, we just added the PPPOE and told it to dial over the VLAN, so that it wouldn&#8217;t get mixed up with the other modem, and boom. Done!<\/p>\n<p>The most complicated part was trying to work out how to setup my managed switch, its VLAN setup confused me with its tagging setup etc, but I was eventually able to figure it out, and it all works in pure harmony \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. So I took the PFsense &hellip; <a href=\"https:\/\/mattyb.co.za\/index.php\/2015\/12\/07\/vlan-much\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">VLAN much?<\/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-82","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-1k","jetpack-related-posts":[{"id":16,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/09\/30\/rage-2015-post-3\/","url_meta":{"origin":82,"position":0},"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":78,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/11\/29\/wait\/","url_meta":{"origin":82,"position":1},"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":6,"url":"https:\/\/mattyb.co.za\/index.php\/2015\/09\/26\/rage-lan-2015\/","url_meta":{"origin":82,"position":2},"title":"rAge LAN 2015 Post 1","author":"admin","date":"September 26, 2015","format":false,"excerpt":"So I am a part of building the NAG LAN at the biggest Gaming Expo in South Africa. rAge My main purpose at the event will be to set-up the the LAN cache, as done here by Multiplay. I have 2 x the below to work with: 2 x Intel\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":99,"url":"https:\/\/mattyb.co.za\/index.php\/2017\/03\/08\/vmware-and-bonding\/","url_meta":{"origin":82,"position":3},"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":90,"url":"https:\/\/mattyb.co.za\/index.php\/2016\/03\/09\/rage-cape-town-2016\/","url_meta":{"origin":82,"position":4},"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":129,"url":"https:\/\/mattyb.co.za\/index.php\/2018\/01\/20\/cpanel-nginx-hack-mirror-sometimes-breaks\/","url_meta":{"origin":82,"position":5},"title":"CPanel NGINX hack-mirror, sometimes breaks","author":"admin","date":"January 20, 2018","format":false,"excerpt":"We had a few clients complaining about corrupted downloads from our mirror when trying to run upcp CPanel update, so I checked it out. It looks like the NGINX Proxy Cache had corruption, and it had a file \"http:\/\/cpproxy.afrixx.com\/cpanelsync\/11.68.0.26\/binaries\/linux-c7-x86_64\/bin\/setsiteip.xz\" that was invalid, and corrupted based on the expected checksum. I've\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/82","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=82"}],"version-history":[{"count":2,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/posts\/82\/revisions\/85"}],"wp:attachment":[{"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattyb.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}