Prior to several sections being downloaded to the municipalities in which they reside, Highway 5 served as bypass to Highway 2, connecting with it in both Paris and Toronto, a distance of 114 kilometers .