A facile route for the synthesis of ethyl N-aryl-2,6-dioxo-piperid-3-ene-4-carboxylates and their biological activity.