On interpolation with boundary conditions