Feb 28, 2011 - A lesser-known fact is that you also can use Linux as an Ethernet bridge and VLAN switch, and that these features are similarly powerful,.
For physical servers, it is best to define a VLAN on your network / infra-structure.Furthermore if you define a VLAN at interface level on your servers they won't be able to talk with your router to leave that network as the router won't be part of that VLAN. That is as you are defining a Virtual LAN, only the elements that belong to that Virtual LAN are able to exchange data between them.For creating VLANs, the network infra-structure will have also to support VLANs (e.g. Your switch). Some cheaper/domestic equipments do not support VAN tagging (802.1Q).Put simply, usually in a physical situation like yours, VLANs are defined at the switch level.
Normally all the switch ports where the servers that take part of that VLAN are connected and their router (if not dealing with a switch layer 3 e.g.