Waveguides with exact solutions