Your warranty period starts when you purchase the unit and is valid for 24 months from purchase. It is not reset when you receive a new unit.
When you activate a replacement unit, you can select what unit is being replaced to roll over any remaining subscription to the new unit.
Please refer to Activating a New TetherBox