On the equilibrium and time relaxation of a lattice gas in several boxes