Network Routing with Path Vector Protocols: Theory and Applications