YouTube2Text

Distance Vector Routing Algorithm In Computer Networks | DV Routing Algorithm | Simplilearn — Transcript

by Simplilearn · 1,865 words · 347 segments · language en · Watch on YouTube

Full transcript

  1. 0:08dist inspector routing
  2. 0:10this is a protocol in data network that
  3. 0:13helps to determine the best route for
  4. 0:15data packets to travel in network
  5. 0:18channel
  6. 0:19hi guys and welcome to yet another
  7. 0:21interesting video i simply learn
  8. 0:24but before we begin if you love watching
  9. 0:26tech videos subscribe to our channel and
  10. 0:29hit the bell icon to never miss an
  11. 0:31update from us
  12. 0:32[Music]
  13. 0:34now without further ado let's take a
  14. 0:36look at the agenda for today's video
  15. 0:40in today's session we will look into the
  16. 0:44introduction for distance vector routing
  17. 0:48continuing with some key points for
  18. 0:50routing protocol
  19. 0:53moving on to distance vector routing
  20. 0:55algorithm
  21. 0:58in the end we will look into some
  22. 0:59examples to better understand the
  23. 1:01routing protocol
  24. 1:03now let's move on to the first heading
  25. 1:04for this session that is
  26. 1:07introduction to distance vector routing
  27. 1:11distance vector routing refers to the
  28. 1:13distance or the vector that is between
  29. 1:16the neighboring nodes
  30. 1:18in a network channel
  31. 1:20and the routing part refers to the
  32. 1:22established route through which data
  33. 1:25packets are transmitted in the network
  34. 1:28channel
  35. 1:29the other aspect of this routing
  36. 1:31protocol in a network channel is to
  37. 1:34determine the shortest path for a data
  38. 1:36packet in the network to reach its
  39. 1:39destination
  40. 1:41next we will look into some key points
  41. 1:43regarding the routing protocol
  42. 1:47for routing protocol three primary key
  43. 1:50points are to be remembered
  44. 1:54first one being
  45. 1:56each router in this protocol is designed
  46. 1:59to share the vector data of each node
  47. 2:03throughout the network
  48. 2:05this step is done to maintain proper
  49. 2:08circulation of data in the network
  50. 2:10channel
  51. 2:11the next key point is the routing
  52. 2:14pattern in the network protocol
  53. 2:16that is the data shared by the routers
  54. 2:19is transmitted only to those nodes that
  55. 2:22are directly linked to a particular
  56. 2:25router
  57. 2:28the last key point is
  58. 2:30that the routing protocol is designed in
  59. 2:33a manner that it shares the updated
  60. 2:36vector data periodically
  61. 2:38at the network channel
  62. 2:43now let's move on to the next heading
  63. 2:45that is
  64. 2:46the algorithm used in the protocol
  65. 2:52the algorithm used in this protocol
  66. 2:55is termed as
  67. 2:57bellman fold algorithm
  68. 3:00this algorithm defines the shortest path
  69. 3:04that the data packet can take to reach
  70. 3:06its destination node from an initial
  71. 3:09node
  72. 3:11where
  73. 3:12d of x y refers to the least distance
  74. 3:16from a node x to node y
  75. 3:19moving on we have
  76. 3:21c of x comma v
  77. 3:23where x is caused from each of its
  78. 3:26neighboring v node is taken into
  79. 3:29consideration
  80. 3:32then we have
  81. 3:33d of
  82. 3:34v y
  83. 3:35this is the distance of each neighbor
  84. 3:37from its initial node
  85. 3:40and lastly
  86. 3:42min of v
  87. 3:43this is an abbreviation used to
  88. 3:45determine the most shortest vector after
  89. 3:49the solution is obtained using the
  90. 3:51algorithm
  91. 3:53in the next heading that is network
  92. 3:55example we will understand all the
  93. 3:58points used in the algorithm
  94. 4:02now let's design a network model with
  95. 4:05five different nodes
  96. 4:07that are a b c and d
  97. 4:10with each node connected to each other
  98. 4:13using different network channel
  99. 4:18the numerical values in the network
  100. 4:21channel refers to the vector count that
  101. 4:23is the distance from node a to node b or
  102. 4:27to some other node in the network
  103. 4:29channel
  104. 4:36in a network model
  105. 4:37each node shares its vector data with
  106. 4:41its neighboring node at a regular
  107. 4:43interval
  108. 4:44as there are various updates in the
  109. 4:46network model
  110. 4:49this data is shared in a form of routing
  111. 4:52table where three different columns are
  112. 4:55used first being destination column
  113. 4:58second
  114. 4:59vector column that is the distance node
  115. 5:02and lastly the hop
  116. 5:06let's take a look at the neighboring
  117. 5:08nodes for this model
  118. 5:12for node a we have
  119. 5:14b and e as it is directly interlinked to
  120. 5:18the node a
  121. 5:20for node b we have
  122. 5:22node a and node c
  123. 5:25for node c we have b and d
  124. 5:28for d we have
  125. 5:30c and e
  126. 5:31and lastly for e we have node a and node
  127. 5:35d
  128. 5:36these nodes represents only the
  129. 5:38neighboring nodes
  130. 5:42now let's solve an actual example on
  131. 5:45routing protocol to clear all our doubts
  132. 5:49and understand the key points
  133. 5:54the example we will be taking
  134. 5:56to solve is
  135. 5:58this network model
  136. 6:01the initial step to start solving the
  137. 6:04network model using the distance vector
  138. 6:07routing protocol is to make routing
  139. 6:10table for each of the nodes
  140. 6:13let's make the routing table for node a
  141. 6:18this is the routing table for node a
  142. 6:20where we have
  143. 6:22destination as a
  144. 6:24that means destination is a from node a
  145. 6:28that means the distance vector should be
  146. 6:30zero
  147. 6:32then we have
  148. 6:33destination as b
  149. 6:36let's take a look
  150. 6:37in this given example there is no given
  151. 6:41connection between a and b
  152. 6:43that means
  153. 6:45this distance vector would be infinity
  154. 6:50then we have destination as c
  155. 6:54similarly as node b there is no direct
  156. 6:56connection between a and node c that
  157. 7:00means this is also infinity
  158. 7:03and same is the case with node d
  159. 7:07and in the end we have
  160. 7:09node e that is the only directly linked
  161. 7:12node
  162. 7:14to node a that means the distance given
  163. 7:17is 5 so the network
  164. 7:20vector is 5.
  165. 7:23let's make an another dropping table for
  166. 7:26node e
  167. 7:29this is the routing table for node
  168. 7:32let's take a look
  169. 7:33in this routing table the first is
  170. 7:36destination to node a
  171. 7:38according to the network model given
  172. 7:41distance is 5 so the vector value is 5
  173. 7:44with the hop to a
  174. 7:47then we have
  175. 7:49destination as node b
  176. 7:51according to the model the distance
  177. 7:53vector should be 4
  178. 7:56then we have destination as node c
  179. 7:59as given there is no direct connection
  180. 8:02between node e and node c
  181. 8:05that determines the value would be
  182. 8:07infinity
  183. 8:09then we have
  184. 8:10node d which represents
  185. 8:14direct connection with node e
  186. 8:16and the value is seven
  187. 8:19and lastly
  188. 8:21e destination from initial point e would
  189. 8:24be zero vector
  190. 8:27now let's make another routing table
  191. 8:29similarly for node c
  192. 8:33now using the same steps you can make
  193. 8:36the routing table for the remaining
  194. 8:38nodes that is node b and node d
  195. 8:45now let's move on to the next step in
  196. 8:47solving the routing issue
  197. 8:50this step is known as update step
  198. 8:53in this step we use the vector column
  199. 8:57from each of the node to update the
  200. 9:00vector column or the routing table for a
  201. 9:03particular node
  202. 9:05in this part we'll use
  203. 9:07node is vector column to update the
  204. 9:10routing table for node a
  205. 9:14and the steps are using the algorithm
  206. 9:17that is the bellman fold algorithm we
  207. 9:20used earlier
  208. 9:23as we already know
  209. 9:25moving from a to destination node a is
  210. 9:28always zero so we won't be doing this
  211. 9:30step let's move on to the next one that
  212. 9:33is moving from node a to node b
  213. 9:37that would be
  214. 9:41would be a comma e as we are using
  215. 9:43vector column of node e
  216. 9:47plus
  217. 9:48and the distance used to reach e from b
  218. 9:53a comma e represents
  219. 9:555
  220. 9:57and
  221. 9:57e to b represents 4 according to the
  222. 10:00network model so the value is
  223. 10:029. similarly let's solve
  224. 10:06for a to c
  225. 10:08to a to c we have
  226. 10:10a comma e plus destination required to
  227. 10:13move from e to c
  228. 10:15according to the network model we have
  229. 10:19node a is only directly linked with node
  230. 10:22e
  231. 10:23so the value would be 5
  232. 10:25but there is no connection between node
  233. 10:28e and node c so the value would be
  234. 10:31infinity
  235. 10:32moving on we have
  236. 10:34a to d
  237. 10:36in this case we have
  238. 10:38a comma e
  239. 10:40the value would be
  240. 10:415
  241. 10:42plus e to d that is a direct connection
  242. 10:45and the value would be 7 so the total
  243. 10:48distance is 12
  244. 10:50and the last one is
  245. 10:52a to e
  246. 10:53for this we have a comma e that is
  247. 10:56directly the neighboring node
  248. 10:58the value would be 5
  249. 11:01so the new routing table
  250. 11:04for node a is
  251. 11:060 9 infinity 12 and 5.
  252. 11:11similarly let's take another node for
  253. 11:14this
  254. 11:15for the next node we will take node c
  255. 11:20and we will update the routing table of
  256. 11:22node c
  257. 11:23using its neighboring nodes that are
  258. 11:27node b
  259. 11:28and node d according to the network
  260. 11:30model
  261. 11:32now
  262. 11:33how to do this step
  263. 11:35firstly it's
  264. 11:37c to destination a
  265. 11:40in case of node b we have
  266. 11:43c to a that would be
  267. 11:46c comma b that is a direct connection
  268. 11:49plus distance required from b to a
  269. 11:52according to network model we have c
  270. 11:54comma b as 6
  271. 11:56plus b to a does not have any connection
  272. 11:59that is infinity so the value would be
  273. 12:01null
  274. 12:03then we have node d
  275. 12:05in this case we have c comma d that is a
  276. 12:08direct connection 3 plus d to a that is
  277. 12:12again infinity
  278. 12:14as it is not linked directly to node a
  279. 12:19moving on we have
  280. 12:20destination as b
  281. 12:23for node b we have direct connection so
  282. 12:26c comma b value is 6
  283. 12:29whereas for node d we have
  284. 12:31c comma d that is distance 3 plus d to b
  285. 12:36that is infinity as it is not directly
  286. 12:39linked with the node b
  287. 12:42so again the value is null
  288. 12:46then we have
  289. 12:48destination as c
  290. 12:50so connection between c to c is zero
  291. 12:54moving on we have destination at node d
  292. 12:58that would be c to d
  293. 13:00as
  294. 13:01c to d
  295. 13:04as there is no direct connection between
  296. 13:06node b and node d
  297. 13:08so the value is infinity
  298. 13:10whereas for c to d is a direct
  299. 13:13connection for node d so the value would
  300. 13:15be 3
  301. 13:17now for the last node that is node e
  302. 13:21in case of node b we have
  303. 13:24c comma b
  304. 13:25plus
  305. 13:26b to e
  306. 13:28where the value for c to b node is 6 and
  307. 13:31b to a is 4 so the sum is 10
  308. 13:36and now in case of node d we have
  309. 13:393
  310. 13:39plus 7 that would be distance from c to
  311. 13:42d and then d to e
  312. 13:45and the value would be again 10. so we
  313. 13:47can use any of the side to reach the
  314. 13:50destination node e
  315. 13:53by completing all the steps we have the
  316. 13:56new table for node c
  317. 13:59similarly we can find the routing table
  318. 14:02for all the nodes present
  319. 14:07now to look into some key points we
  320. 14:09learned
  321. 14:11for the initial step use only the node
  322. 14:14distance of immediate neighbors
  323. 14:19nodes without distance that is directly
  324. 14:21linked to each other is always infinity
  325. 14:27for the update step use the vector table
  326. 14:30of the only
  327. 14:31neighboring node we have for the initial
  328. 14:34node
  329. 14:36and lastly to continue the update step
  330. 14:39roughly n minus 1 iterations are used
  331. 14:42where the value of n is equal to the
  332. 14:45number of nodes
  333. 14:46for example
  334. 14:48the model we took has
  335. 14:50five nodes that means we have to do a
  336. 14:52loop of four iterations
  337. 14:57with this we have reached the end of the
  338. 14:59session
  339. 15:00if you have any questions regarding the
  340. 15:02topic you can ask them in the comment
  341. 15:04section below thank you for watching
  342. 15:08[Music]
  343. 15:11hi there if you like this video
  344. 15:13subscribe to the simply learn youtube
  345. 15:15channel and click here to watch similar
  346. 15:17videos turn it up and get certified
  347. 15:19click here

About this transcript

This page contains the full transcript of Distance Vector Routing Algorithm In Computer Networks | DV Routing Algorithm | Simplilearn by Simplilearn, generated from the public captions YouTube serves with the video. The transcript has 1,865 words across 347 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.