The interaction between solitary waves in two fluid magnetohydrodynamic model of plasma with electron inertia taken into account is investigated analytically and numerically. Waves with linear polarization of a magnetic field are considered. A principal difference of the present work is the using of the «exact» equations, instead of the modeling equations. It is numerically shown, that solitary waves really are solitons, i.e. their interaction is similar to interaction of colliding particles.