Driveline control is a challenging area. With traditional fuel metering systems, driveline oscillations may follow load disturbances or changes in accelerator position. This problem, emphasized with increased engine power, together with overall increased performance demands leads to a need for more advanced driveline control.The main contribution of the paper is a strategy for fuel metering with active handling of driveline resonances, reducing wheel speed oscillations. Experiments and modeling using a 6x2 heavy truck lead to a linear model capturing the significant torsional resonances in the driveline. A formulation tractable for analysis, design, and implementation is developed. Field trials show that the engine can be controlled to reduce low frequency driveline oscillations, also when facing engine torque restrictions due to diesel smoke reduction. The system thus improves both performance and driveability.