.
Then, do you need a router for VLAN?
Device is Same but Vlans define separate networks inside same switch. Separate Network means, each network has own broadcast domain. you don't need router when switch is not able to provide routing function. If you have L3 Switch, you can configure routing in same device.
Subsequently, question is, can different VLANs communicate without a router? Yes, you can configure a switch with “vlan-bridging”, whereas multiple VLANs can communicate between each other. That said, bare in mind the difference that IP packets, at layer 3 of the OSI model, will not communicate between subnets without a router.
Keeping this in consideration, what is VLAN on router?
Routers connect LANs, routing the traffic to each appropriate port. A virtual LAN (VLAN) is a local area network that maps devices on a basis other than geographic location, for example, by department, type of user, or primary application.
How does a router differ from a VLAN?
A layer-2 switch operates at the data link layer, and a router operates at the network layer. How does a router differ from a VLAN? VLANs create multiple subnets, but can only send messages to computers on the same VLAN.