Implementation of the distance vector routing protocol