This paper proposes a gateway framework for in-vehicle networks based on CAN, FlexRay, and Ethernet. The proposed gateway framework is designed to be easy to reuse and verify, in order to reduce development costs and time. The gateway framework can be configured, and its verification environment is automatically generated by a program with a dedicated graphical user interface. The gateway framework provides state of the art functionalities that include parallel reprogramming, diagnostic routing, network management, dynamic routing update, multiple routing configuration, and security. The proposed gateway framework was developed, and its performance was analyzed and evaluated.