To understand how distance vector routing works examine the internet shown in the clouds represents local area network . the number inside each cloud that LAN network ID>these LAN can be of any type represented by the boxes labelled A, B, C, D, E and F,
Distance vector routing simplifies the routing process by assuming cost of one unit for every link.
Shows the first step in the algorithm. The next boxes indicate the relationship of the routers. Each router sends its informant on about internetwork only to immediate neighbours.
A router sends its knowledge to its neighbours . the neighbours add this knowledge to their own knowledge and send the whole table to their own neighbours. In this way the first router gets its own information back plus new information about its neighbour other neighbour . each of these neighbours adds its knowledge and sends the updated table eon to its own neighbours and so on. Eventually every router in internetwork.