This guide provides a step-by-step walkthrough, including VLAN creation, port assignment, and IP configuration. Includes verification commands for confirming. In this article, we gave IP addresses to four VLANs on switch S1: IT, HR, SALES, and GUEST. Each VLAN has its own IP address and ports, so the networks are separate and organized. This makes the network safer. Network planning 3: The core switch functions as the user subnet gateway on the LAN side and allocates IP addresses through DHCP. Perform either of the sub-steps. The switch has the following command also set: ip default-gateway 192.