OSInst: switch between flat and vlan