Two types of ion spectral gaps in the quiet inner magnetosphere: Interball-2 observations and modeling