Set up a VLAN on Mac
A virtual local area network (VLAN) is a method of creating independent virtual networks within a physical network. Using a VLAN can help you with network administration by allowing you to separate segments of the LAN (like departments of a company) that shouldn’t exchange data using the LAN.
A VLAN is made up of computers that behave as if they were connected to the same network, even though they may be connected to different physical networks. Network administrators can manage VLANs using software instead of hardware.
You can set up a VLAN service using Network settings.
On your Mac, choose Apple menu > System Settings, then click Network in the sidebar. (You may need to scroll down.)
On the right, scroll to the bottom of the window, click the Action pop-up menu , then choose Manage Virtual Interfaces.
Click the Add button , then choose New VLAN.
Enter a name for the service in the VLAN Name field.
Enter a value in the Tag field.
Click the Interface pop-up menu, then choose a network interface.
Click Create, then click Done.
In the network services list, click the VLAN you just created, click Details, then enter settings for the service, such as TCP/IP settings, or the DNS server address.