Virtual L2 switch