Router
To connect two different class networks in Packet Tracer, you would typically use a router. Routers are networking devices that operate at the network layer (Layer 3) of the OSI model and can forward data packets between different networks. Routers implement routing protocols to determine the best path for data to travel between networks, making them essential for interconnecting distinct networks.