Hi everyone, I'm kinda new to OpenWrt and I think I'm going crazy. It feels like nothing is named the way I expect and nothing I do have the effect I assume it will have.
What I wanna do is frankly quite simple. Firstly I wanna divide my network into VLAN:s, secondly I wanna set IP-adresses and hostnames for my devices, and thirdly I wanna be able to VPN into my network whiles away.
I tried changing the VLAN of one of the Switch ports but nothing seams to have happened at all. It acts as if I've done nothing. The device still gets an IP-adresses following the rules of the main VLAN, and is accessible from another VLAN. (Does OpenWrt not distinguish between different subnets[comment 1] and just treats everything like it's in the same network? In that case, why have a VLAN selector?) On a similar point, I also can't find where I chose which VLAN the router is on, and in which subnet it should exist.
I also tried to set up IP-adresses for my different devices, but the DHCP-server only let's me pick already occupied IP-adresses, which just feels crazy. Surely I must be doing something wrong
I tried setting up a Wireguard server, and the software gives me no option of assigning the Wireguard clients any IP-adresses (it doesn't even allow me to give them a subnet range in the standard LAN) or VLAN, so I have no idea which VLAN they will end up in (or subnet).
I also tried to divide my VLAN:s into subnets, but can't find any way of doing that.
Please help. It feels like everything has different names then I'm use to, what does OpenWrt call these things, and where are these functions hidden?
PS.
I would also love finding the device index showing me the layer 2/3 connections of the router, so I can troubleshoot some devices Im having issues identifing on the network.
And I'd love to find where the main DHCP-database is hidden (with subnet and VLAN ID:s). The one I found doesn't seem to understand neither what a VLAN is or a subnet (or these maybe have other names in OpenWrt).
[Comment 1] Before anyone comments: I'm aware that subnets and VLAN:s aren't the same thing. What I'm referring to is that you normally can't access a computer on a different subnet, and every VLAN contains its own subnets so that for example 10 192.168.1.4 (where 10 is the VLAN ID), and 20 192.168.1.4 (where 20 is the VLAN ID), may look like the same device, but because they are in different VLAN:s and each VLAN is a network of its own containing its own subnets, they are in fact different devices (unless we've chosen to bridge the device or place it in multiple VLAN:s with the same IP in both[incase the device has built in VLAN tagging support], as we may with a router, DNS Server or Firewall).