Minor problem with VLANs and static IP in Windows 10
Minor problem with VLANs and static IP in Windows 10
Hi. Your Ubiquiti UniFi setup involves multiple switches and a USG Pro 4 in two connected buildings. You've created separate VLANs for each building and have devices like cameras and viewers needing inter-VLAN connectivity. Your static IP configurations are causing connection issues depending on the server's IP mode. When DHCP is used, connections work; with static IPs, they don't. The solution likely lies in aligning your static IP settings across VLANs or adjusting how the network routes traffic. Let me know if you'd like help troubleshooting further. Thanks. Roger J.
Typically your router manages traffic between different network segments (subnets). These segments usually have separate VLANs. The routing configuration should reflect those divisions. A network diagram would illustrate how devices connect across these subnets.
What connects those subnets? Usually, you need to configure rules so communication works as intended.
It's feasible to assign VLANs to switch ports. In some cases, I needed to link a client using two Ethernet cables. This approach isn't something I prefer. I didn't establish any guidelines when creating the VLANs; they likely appeared automatically from the controller. Still, everything functions properly when the client is configured with DHCP, suggesting the settings might be accurate.
I would configure all clients to use DHCP, as there are no valid reasons for static assignment, which would create a major administrative burden. Servers could remain static or employ reservations on the DHCP server. The gateway settings differ between static and DHCP configurations.
The gateway remains unchanged even when using a static IP. I understand that static IPs add more effort, but we must apply them to all cameras for access. In the building I manage CCTV, I configured all cameras via DHCP and then assigned their IP addresses through the UniFi controller in one location. It’s still quite a process. My goal is to determine if my issue can be resolved on Windows or if adjustments are needed at the gateway. I’m worried we’re stuck with static IPs in Windows TCP/IP settings while clients rely on DHCP. Is there a way to enable both static and DHCP simultaneously?