In engineering, shafting systems are typically subjected to longitudinal vibration excitations, which may result in unwanted vibration. To study the control of longitudinal vibration in shafting systems, they can be simplified to rod structures. Currently, engineers have attempted to apply the nonlinear principle to design nonlinear supports to control the vibration of flexible structures. However, the flexible structures referenced in the literature are usually composed of a single component, which limits the application of nonlinear supports to more complex structures. To explore the potential application of nonlinear supports in marine engineering, this work introduces a longitudinal vibration prediction model for a double-rod system equipped with longitudinal nonlinear supports. The generalized Hamilton principle is used to derive the governing equations for the double-rod system with longitudinal nonlinear supports. The longitudinal vibration responses of the double-rod system are numerically solved using the Galerkin truncation method. The numerical results confirm that a 1-term truncation number guarantees the stability of the longitudinal vibration prediction model. Under certain conditions, the longitudinal vibration responses are significantly affected by longitudinal nonlinear supports. It is recommended to install longitudinal nonlinear supports on both Rod 1 and Rod 2 simultaneously to suppress vibration in the first two main resonance orders. With reasonable excitations, the vibration state and magnitudes of the double-rod system can be effectively controlled by adjusting the longitudinal nonlinear supports. Complex longitudinal vibration responses are more readily induced by altering the parameters of the longitudinal nonlinear support installed on Rod 1. Choosing appropriate parameters for the nonlinear supports on Rod 1 and Rod 2 positively contributes to the reduction of vibration in the double-rod system.