Rational solutions of the one-dimensional Boussinesq equation both wit
h zero and nonzero boundary conditions at the infinity are obtained by
reducing the known solutions of the Kadomtsev-Petviashvili equation.
The structure of the found solutions generalizes a family of rational
solutions to the Korteweg-de Vries equation to the case of two-wave pr
ocesses.