Issues with network switches
Issues with network switches
I am planning to start up a really very small server at home which is just a nano-itx board and some hard disks. The problems I am facing is: 1. Can I just connect the "server" to an unmanaged switch which cannot be configured or I need a manageable switch and port forward my server? 2. My ISP gives me dynamic IP, can I host VPN server, mail server, etc? 3. If I really need a manageable switch, please suggest some which are not expensive and space saving (I don't need those with 24 ports, just 4 to 8 is enough). Thanks a lot for reading this, please help me!!!
Yes, if you stick with your plan, you'll likely require a managed switch.
If you require VLANs, obtain them. Otherwise, you won't need them.
You should not place a switch between the router and ISP connection. The ISP assigns an IP address, which is the initial point of contact, and once that’s set, the rest of your network won’t have access. Follow this order: ISP → Router → Switch → everything else.
Everyone has mentioned the same thing: an ISP provides only one IP address to your home network, which is tied to your router. Purchasing a managed switch won’t change that. You should link your unmanaged switch to the router first, then connect all internet-dependent devices to it. For server ports, open them on your router instead. Your ISP will likely assign you a dynamic IP—changing whenever they decide, often when your router restarts—which defeats the purpose of running a server. You’ll need a service that gives you a static IP so it can forward the dynamic one. I personally use Dynu, but many other options exist. Happy serving!