Disclaimer: I am by no mean a professional. I am just doing this for fun and enjoy learning along the way (I probably still don’t know anything 🤣). These are not meant as a guide and should not be treated as such. What I am showing you here is what I did, and it worked for me and my situation but might not apply to you. Your result could be very different from mine. Heck, I could be doing or saying something entirely wrong since I’m still considering myself a newbie (Hence the name of my site “noob to networking” 😉). Please don’t take a random person’s words on the internet too seriously, and again, ALWAYS and I mean always do your own research (Well, take this one seriously, though).
Well, hello there, another week came by so quickly. Before I realized it, this week was already here. I supposed it was time for another post. Let’s see what I want to write about for this week 🤔. Last week, I talked about how I set up my VLAN network using Pfsense, but that is just setting up the initial network. I will have to configure my VLAN to work with network equipment such as network switch and Access Point (AP) to utilize the VLAN.
Why?
Before I go into the detail about how I did it, let’s first discuss the why.
As you know, VLAN is, as the name suggested, a virtual network, so there isn’t any physical connection (wired or wireless), but that would be impossible. They are used to leverage the existing LAN connection and create a tag 🏷 to identify what network traffic comes from what network. If we don’t specify what network we want, then by default, all the networks will be coming from your main LAN network…sort of. Technically speaking, the signal carried will be all 3 VLAN networks. They are there as Pfsense generated them, but if we don’t specify, then LAN takes priority. It does not mean the other 2 VLAN networks are dropped for my network equipment.
The ideal design for my home network is to isolate all the smart devices into their VLAN network. The majority of the smart devices on the market use Wi-Fi for their connection, so I have to configure a wireless network ID linked to the VLAN for the IoT network. For the minority of devices that use wired connections, I have to configure a specific port on my network switch to be in an IoT network.
Wired
I used this MikroTik network switch. I mentioned it back in my home network setup. What I like about it is the feature set for the price. There are 24 ports + 2 uplink SPF+ ports I could freely configure. I plan to make port 24 into the IoT network port. It means that if you plug a cable into port 24 on this network switch and connect your computer to it, you will be connected to my IoT VLAN network and not another network.
This is pretty much it. What? You thought it would be a lot more complicated? Don’t be silly; it is that simple because we have already done most of the work with Pfsense, which is the main crux of VLAN. This allows the network with a specific Tag to be recognized🤷♂️.
Product Link (Amazon Affiliated)
Wireless
This is my access point in charge of broadcasting WI-FI for my home network. I need to configure a Wi-Fi hotspot that links to the IoT network for all my smart devices to connect. I picked this because of its capability of handling multiple devices simultaneously. As you might have figured, there will be a lot of smart devices being added to my home in the future, so I want to make a good investment and not just settle for some low-performance access point. It was costly, but I bit the bullet and made the purchase (I am very cheap, in case you have not realized by now 😅)
That is all. Once the changes are applied, we should see our Ai O Tea network show up, all the smart devices connected to that network will be connected to VLAN 10, and the ID address should be 10.11.60.x
Product Link (Amazon Affiliated)
Conclusion
We have accomplished having both wired and wireless networks set up to utilize the VLAN networks. Of course, you will be different from mine because the configuration differs from equipment to equipment and manufacture to manufacture. But at least you understand the fundamental concept, and it will be simple to apply. Once you have a basic understanding of how this works, you will be able to figure out how to do it with your network equipment 😉. I am still learning myself, but please feel free to reach out to me if you have any questions. Maybe I can offer some assistance. With that said, all the time I have to write for this week as my laziness has taken over. Until next time all of you, Have a wonderful week!
-Laz