Montagnat is a commune .
Montagnat is a commune in the Ain department in eastern France .