Because of the advances in vehicle and infrastructure communication technology, vehicular ad hoc networks (VANETs) have emerged. The VANET has the potential to greatly enhance road safety if drivers are allowed to report traffic accidents and violations via vehicles. We proposed a CA-IDS framework for Intrusion Detection systems (IDS) in vehicular ad-hoc networks (VANETs). The collaborative architecture (CA) has been created with Markov Reputation (MR) based and enhanced Ring Signature algorithm (RS). The intrusion detection has been done with the Reputation Mixture Transition Circulation algorithm (RMTC). The proposed method optimizes offloading tasks based on the proposed architecture. The simulation results obtained show that CA-IDS performs better than the other existing schemes concerning parameters such as packet delivery ratio (PDR), Delay, overhead, and end-to-end delay.