Network segregation is a method of controlling the security of large networks is to divide them into separate logical network domains which has been used for provide additional protection and high availability. VLAN is a common method to provide the segmentation services. To support VLAN function, we need to have some managed switches which are more expensive then commodity off-the-shelf (COTS) Ethernet switches. In this paper, we use an Openflow virtual switch which can be built in any Linux based machine to achieve network segregation. For network management, we use sFlow to monitor virtual switches.