YouTube2Text

SRWE M14 Routing Concepts — Transcript

by Santelmo · 10,301 words · 2,021 segments · language en · Watch on YouTube

Full transcript

  1. 0:03[Music]
  2. 0:18hi
  3. 0:19hello there welcome to routing concepts
  4. 0:22no matter how effectively you set up
  5. 0:24your network
  6. 0:25something will always stop working
  7. 0:27correctly
  8. 0:29or even stop working completely
  9. 0:32this is a simple truth about networking
  10. 0:35so even though you already know quite a
  11. 0:38bit about routing
  12. 0:39you still need to know how your routers
  13. 0:42actually work
  14. 0:43so this knowledge is critical if you
  15. 0:46want to be able to troubleshoot your
  16. 0:48network
  17. 0:49so this module goes into detail about
  18. 0:51the functions of a router
  19. 0:53so let's get started
  20. 0:57so for the module objective at the end
  21. 1:00of this video lecture
  22. 1:01you should be able to explain how
  23. 1:03routers use information in packets
  24. 1:06to make forwarding decisions
  25. 1:09also included on this video lecture are
  26. 1:11subtopics like
  27. 1:13path determination packet forwarding
  28. 1:16basic router configuration review ip
  29. 1:19routing
  30. 1:20and the static and dynamic routing
  31. 1:26so let's begin with path determination
  32. 1:31okay so there are two basic functions of
  33. 1:34a router
  34. 1:35so before a router forwards a packet
  35. 1:37anywhere it has to determine the best
  36. 1:40path
  37. 1:40for the packet to take so this topic
  38. 1:43explains
  39. 1:44how routers make this determination
  40. 1:48so ethernet switches are used to connect
  41. 1:51end devices and other interior media
  42. 1:53devices
  43. 1:54such as other ethernet switch or
  44. 1:56switches
  45. 1:57to the same network so some connects
  46. 2:01okay multiple networks okay so like
  47. 2:04routers
  48. 2:05okay a router connects multiple networks
  49. 2:08which means
  50. 2:09that it has multiple interfaces that
  51. 2:12it's going to the different ip network
  52. 2:15so when a router receives an ip packet
  53. 2:17on one interface
  54. 2:18it determines which interface to use to
  55. 2:21forward the packet to the destination
  56. 2:23so this is known as routing okay
  57. 2:27so the interface that the router uses to
  58. 2:29forward a packet may be the final
  59. 2:31destination
  60. 2:32or it may be the network connected to
  61. 2:34another router
  62. 2:35that is used to reach the destination
  63. 2:37network so
  64. 2:38each network that the router connects to
  65. 2:42typically
  66. 2:43requires a separate interface
  67. 2:46but this may not always be the case the
  68. 2:49primary
  69. 2:50functions of a router are first to
  70. 2:53determine the best path
  71. 2:55to forward packets based on the
  72. 2:57information in its routing table
  73. 3:00and second to forward packets toward
  74. 3:03their destination
  75. 3:09okay now i have here an example
  76. 3:13okay router functions example so the
  77. 3:16router uses its ip routing table
  78. 3:19to determine which path or route to use
  79. 3:22to forward the packet
  80. 3:24so r1 and r2 use their respective ip
  81. 3:27routing table to first determine the
  82. 3:29best pass
  83. 3:30and then forward the packet so initially
  84. 3:34we have here the source okay and the
  85. 3:36destination so the source will forward
  86. 3:38the packet to the router
  87. 3:40the router will refer to the routing
  88. 3:42table if it has an entry on it
  89. 3:44and then if there is an entry it will be
  90. 3:46forwarded to the exit interface
  91. 3:48leading to another network or router
  92. 3:51in that case that is router 2. router 2
  93. 3:54will process the packet and do the same
  94. 3:56as that of router 1
  95. 3:58referring to the routing table then it
  96. 4:00will be forwarded to the destination
  97. 4:02so that's how it works okay router
  98. 4:06always refer to its routing table where
  99. 4:08to forward the packet
  100. 4:10now if there is no entry for the router
  101. 4:13okay for that packet then
  102. 4:17the router will simply drop the packet
  103. 4:20unless there is a configuration or there
  104. 4:23were configurations
  105. 4:25like the gateway of last resort
  106. 4:28where to forward the packet not found on
  107. 4:31the routing table
  108. 4:32okay all right
  109. 4:36so the next one would be the best path
  110. 4:38equal longest match
  111. 4:40so what is meant by the router must
  112. 4:43determine the best
  113. 4:44path in the routing table
  114. 4:47so the best path in the routing table is
  115. 4:49also known as the longest match
  116. 4:52so the longest match is a process the
  117. 4:54router uses to find a match
  118. 4:57between the destination ip address of
  119. 4:59the packet
  120. 5:00and a routing entry in the routing table
  121. 5:03so the routing table contains route
  122. 5:05entries consisting of
  123. 5:07a prefix or network address and prefix
  124. 5:11length so for there to be a match
  125. 5:14between the destination ip address of a
  126. 5:17packet
  127. 5:18and a route in the routing table a
  128. 5:20minimum number of far left
  129. 5:22bits must match between the ip address
  130. 5:25of the packet
  131. 5:27and the route in the routing table so
  132. 5:30the prefix length of the route
  133. 5:32in the routing table is used to
  134. 5:34determine
  135. 5:35the minimum number of far left bits that
  136. 5:38must
  137. 5:39match remember that
  138. 5:42in ib packet okay only contains the
  139. 5:45destination ip address
  140. 5:47and not the prefix length okay
  141. 5:50so the longest match is the route in the
  142. 5:53routing table
  143. 5:54that has the greatest number of far left
  144. 5:57matching bits
  145. 5:58with the destination ip address on the
  146. 6:00packet
  147. 6:02so the route with the greatest number of
  148. 6:04equivalent far left bits
  149. 6:06or the longest match is always the
  150. 6:08preferred
  151. 6:09route so take note the term prefix
  152. 6:12length
  153. 6:13will be used to refer to the network
  154. 6:15portion for both
  155. 6:17ipb4 and ipv6 ip
  156. 6:20addresses
  157. 6:25okay so ipb for address longest match
  158. 6:29example here now in the table an ipv4
  159. 6:32packet has a destination ip address or
  160. 6:35ipv4 address
  161. 6:36of 172 16
  162. 6:400.10 okay
  163. 6:43so the router has three route entries in
  164. 6:46its ipb4 routing table
  165. 6:48that matches this packet okay so this
  166. 6:51are
  167. 6:53172.16.00 12.
  168. 6:57172.16.00 that's 18
  169. 6:59and 172.16.00 it's last 26.
  170. 7:04so of the three routes 172 1600
  171. 7:09it's last 26 okay has the longest match
  172. 7:13and would be chosen to forward the
  173. 7:16packet
  174. 7:17so remember for any of these
  175. 7:20routes to be considered a match there
  176. 7:23must be at least the number of
  177. 7:25matching bits indicated by the subnet
  178. 7:29mask
  179. 7:29for the route okay so let's have an
  180. 7:33example
  181. 7:34for ipv6 okay ipv6 address longest match
  182. 7:38okay now in the table an ipv6 packet has
  183. 7:42a destination okay
  184. 7:44so 2001 colon db8
  185. 7:47colon c000 colon colon 99
  186. 7:51so this example shows three route
  187. 7:53entries but only two of them are valid
  188. 7:57match so with one of those being the
  189. 8:00longest match
  190. 8:01so the first two route entries have
  191. 8:03prefix lengths that have the required
  192. 8:05number of
  193. 8:05matching bits as indicated by the prefix
  194. 8:08link
  195. 8:09okay so the first route entry
  196. 8:14which is 2001 colon db8
  197. 8:18fall on c0 0 0 colon colon slash
  198. 8:2240 okay so the prefix length of 40
  199. 8:26matches the first or the 40 far
  200. 8:29left bits in the ipv6 address
  201. 8:33so the second one would be
  202. 8:36a prefix length of 48 so that is 2001
  203. 8:40dba c000 colon colon's last 48
  204. 8:46all right so the second route entry has
  205. 8:48a preface length of slash 48
  206. 8:51and with all 48 bits matching the
  207. 8:54destination ipv6 address
  208. 8:56and is the longest match so the third
  209. 9:00route
  210. 9:01okay which is not a match because it's
  211. 9:04last 64 prefix okay
  212. 9:08so it requires 64 matching bits
  213. 9:12so for the prefix 2001 dba c000
  214. 9:175555 colon colon 64 to be a match
  215. 9:22okay so the first 64 bits must match the
  216. 9:25destination ipv6 address
  217. 9:28of the packet so only the first
  218. 9:3148 bits match so this route entry
  219. 9:35is not considered a match okay
  220. 9:38so for the destination ipv6 packet with
  221. 9:41the address 2001
  222. 9:42dba c000
  223. 9:46holland colon slash 99 or
  224. 9:4999 slash 48 consider
  225. 9:53the following three route entries
  226. 9:56all right
  227. 10:01okay so next is build the routing table
  228. 10:06so a network a routing table consists of
  229. 10:09prefixes
  230. 10:10and their prefix lengths but how does
  231. 10:14the router learn
  232. 10:15about these networks okay
  233. 10:19so
  234. 10:24let's take a look at this topology here
  235. 10:26okay so
  236. 10:27the network okay are the presentations
  237. 10:30that i'm going to do
  238. 10:32is based on the perspective of r1
  239. 10:35now referring to the figure so the
  240. 10:38networks in the topology
  241. 10:39are highlighted and labeled from the
  242. 10:42perspective of
  243. 10:43r1 okay all ipb4 and ipv6
  244. 10:48network highlighted in yellow are
  245. 10:50directly connected
  246. 10:52so this network here 10 0 1 0
  247. 10:5624 is directly connected to r1
  248. 11:00this 10 0 2 0 slash 24 is directly
  249. 11:03connected to r1 also
  250. 11:05and so with 10 0 3 0 24
  251. 11:09so there are three subnets directly
  252. 11:12connected to r1
  253. 11:13and these are marked yellow here
  254. 11:16okay now all the ipv4 and ipv6 networks
  255. 11:20highlighted in blue are remote networks
  256. 11:23for r1
  257. 11:25okay now referring to this uh networks
  258. 11:2810 0 4 0 is last 24.
  259. 11:33you've got 2009 165
  260. 11:36200 224 slash 30. you've got 10 0 5
  261. 11:400 it's slash 24 okay
  262. 11:43and the internet is of course all of
  263. 11:46this are
  264. 11:47remote to r1 okay
  265. 11:51so there are also three networks or
  266. 11:53subnets connected to r2
  267. 11:56so these are 10 0 for 0
  268. 11:5910 0 5 0 and 209 165 200.224
  269. 12:08okay
  270. 12:10all right so different ways a router
  271. 12:14learns
  272. 12:15routes okay so basically we have several
  273. 12:18or we have three
  274. 12:19okay so the first one would be directly
  275. 12:21connected networks
  276. 12:23so directly connected networks are
  277. 12:26networks
  278. 12:26that are configured on the active
  279. 12:28interfaces of a router
  280. 12:30so a directly connected network is added
  281. 12:33to the routing table
  282. 12:35when an interface is configured with an
  283. 12:37ip address and subnet mask
  284. 12:38or prefix length and is active
  285. 12:42right so up and up on status
  286. 12:45okay so next would be the remote
  287. 12:48networks
  288. 12:49so remote networks are networks that are
  289. 12:52not directly connected to the router
  290. 12:54okay as shown in the topology presented
  291. 12:56earlier so routers
  292. 12:58learn about remote networks in two ways
  293. 13:01so first
  294. 13:02static routes so added to the routing
  295. 13:05table when a route is manually
  296. 13:07configured
  297. 13:08second is dynamic routing protocols
  298. 13:12so added to the routing table when
  299. 13:14routing protocols dynamically learn
  300. 13:16about the remote network
  301. 13:19so dynamic routing protocols include
  302. 13:21enhanced interior gateway routing
  303. 13:23protocol or
  304. 13:24eigrp open shortest path
  305. 13:27first or ospf as well as
  306. 13:30several others okay
  307. 13:34so the third one would be a default
  308. 13:37route
  309. 13:38okay a default route specifies a next
  310. 13:41hub
  311. 13:42to use when the routing table does not
  312. 13:44contain a specific route that matches
  313. 13:46the destination ip address
  314. 13:48so the default route can be entered
  315. 13:51manually
  316. 13:52a static route or learned automatically
  317. 13:55from a dynamic routing protocol
  318. 13:58so a default route over ipb4
  319. 14:02has a route entry of zero that zero the
  320. 14:060.0 or equal
  321. 14:07zero zero and a default route
  322. 14:10over ipv6 has a route entry of
  323. 14:15colon colon slash zero
  324. 14:19okay so this last zero prefix length
  325. 14:23indicates that zero bits or no bits need
  326. 14:26to be matched
  327. 14:27the destination ip address for this
  328. 14:29route entry to be used
  329. 14:32so if there is no routes with a longer
  330. 14:35mass
  331. 14:36okay so most than or more than
  332. 14:40zero bits then the default route is used
  333. 14:43to forward the packet
  334. 14:44so the default route is sometimes
  335. 14:46referred to as the gateway
  336. 14:48of last resort
  337. 14:57okay so let's talk about packet
  338. 14:59forwarding now
  339. 15:01okay so packet for warning decision
  340. 15:04process
  341. 15:05so now that the router has determined
  342. 15:07the best path
  343. 15:09okay so that is via the longest match or
  344. 15:11the best match
  345. 15:12okay so the packet based on the longest
  346. 15:16match
  347. 15:17so it must determine how to encapsulate
  348. 15:20the packet
  349. 15:20and forward it out on the correct egress
  350. 15:23interface
  351. 15:25okay so the figure here demonstrates
  352. 15:28how a router first determine the best
  353. 15:30path and then forwards the packet
  354. 15:33okay so the following steps describe the
  355. 15:36packet
  356. 15:37forwarding okay
  357. 15:40and starts or begins with the data link
  358. 15:43frame
  359. 15:43with an encapsulated ip frame or ip
  360. 15:46packet
  361. 15:47arrives at the egress or ingress
  362. 15:50interface
  363. 15:52okay so started with this one so this
  364. 15:55one here is a frame
  365. 15:57okay so you've got data link header the
  366. 15:59destination ip address
  367. 16:00the rest of the ip packet and the
  368. 16:02trailer
  369. 16:04okay so the data link frame with an
  370. 16:07encapsulated ip packet arrives on the
  371. 16:09ingress
  372. 16:10interface when i say ingress that is the
  373. 16:12incoming
  374. 16:13okay that's the input
  375. 16:17second so the router examines the
  376. 16:20destination ip address in the packet
  377. 16:22header
  378. 16:23and consult its ip routing table
  379. 16:28okay so the router finds the longest
  380. 16:31matching
  381. 16:32prefix in the routing table
  382. 16:37and then the first step would be the
  383. 16:39router encapsulates the packet in a data
  384. 16:42link frame
  385. 16:42and forwards it out the egress
  386. 16:46interface so the destination
  387. 16:49could be a device connected to the
  388. 16:51network or
  389. 16:52a next tab router okay
  390. 16:55so the fifth one would be however if
  391. 16:58there is no matching route entry
  392. 16:59the packet is dropped okay so which is
  393. 17:02the default behavior
  394. 17:04of a router
  395. 17:10so forwards the packet to a device on a
  396. 17:13directly connected
  397. 17:15network okay so if the route entry
  398. 17:19indicates that the egress interface is
  399. 17:21directly connected network
  400. 17:24this means that the destination ip
  401. 17:26address of the packet belongs to a
  402. 17:28device
  403. 17:29on the directly connected network so
  404. 17:31therefore
  405. 17:32the packet can be forwarded directly to
  406. 17:35the destination device
  407. 17:37so the destination device is typically
  408. 17:39an end device
  409. 17:40on an ethernet lan which means the
  410. 17:43packet
  411. 17:44must be encapsulated in an ethernet
  412. 17:47frame
  413. 17:49okay so to encapsulate the packet in an
  414. 17:51ethernet frame
  415. 17:52the router needs to determine the
  416. 17:54destination mac address
  417. 17:56okay associated with the ip address of
  418. 18:00that
  419. 18:00packet so the process varies
  420. 18:03based on whether the packet is an ipv4
  421. 18:06or an ipv6 okay
  422. 18:10so for the ipv4 packet the router
  423. 18:14checks each arp table for the
  424. 18:17destination ipv4 address
  425. 18:19and an associated internet mac address
  426. 18:23so if there is no match the router sends
  427. 18:26an arp request
  428. 18:28the destination device will return an
  429. 18:31arp reply
  430. 18:32with its mac address so the router can
  431. 18:35now forward the ipv4 packet
  432. 18:37in an ethernet frame with the proper
  433. 18:40destination mac address
  434. 18:43okay now in case of an ipv6 packet
  435. 18:47so the router checks its neighbor cache
  436. 18:50for the destination ipv6 address and an
  437. 18:53associated
  438. 18:55ethernet mac address so if there is no
  439. 18:58match
  440. 18:58the router sends an icmp v6
  441. 19:02neighbor solicitation or ns message
  442. 19:05the destination device will return an
  443. 19:08icmp v6
  444. 19:10neighbor advertisement or and a message
  445. 19:12with its mac address
  446. 19:14so the router can now forward the ipv6
  447. 19:17packet in an ethernet frame
  448. 19:19with the proper destination mac address
  449. 19:23okay
  450. 19:27all right so how about forwarding the
  451. 19:30packet to the next hub
  452. 19:32router so if the route entry indicates
  453. 19:36that the destination ip address is on a
  454. 19:38remote network
  455. 19:40this means that the destination ip
  456. 19:43address
  457. 19:43of the packet belongs to a device on a
  458. 19:45network
  459. 19:46that is not directly connected okay so
  460. 19:49therefore
  461. 19:51the packet must be forwarded to another
  462. 19:53router
  463. 19:54specifically a next hub router
  464. 19:58so the next hub address is indicated in
  465. 20:00the route entry
  466. 20:02so if the following router and the next
  467. 20:05hub router
  468. 20:06are on the ethernet network a similar
  469. 20:09process
  470. 20:10arp and isc icmp
  471. 20:13neighbor discovery or nd will occur
  472. 20:17for determining the destination mac
  473. 20:18address of the packet
  474. 20:21as described previously so the
  475. 20:24difference is that
  476. 20:25the router will search for the ip
  477. 20:28address of the next hub router
  478. 20:30in its arp table or neighbor cache
  479. 20:34instead of the destination ip address of
  480. 20:37the packet
  481. 20:38so take note that this process will vary
  482. 20:42for other types of player 2 networks
  483. 20:45okay so the third one would be
  484. 20:49drop the pocket so if there is no match
  485. 20:52in the routing table
  486. 20:53the default behavior of the router is to
  487. 20:55drop the packet
  488. 20:57okay so if there is no match between the
  489. 20:59destination ip address and a prefix
  490. 21:03in the routing table and if there is no
  491. 21:06default route
  492. 21:08the packet will be dropped
  493. 21:11okay so again the default behavior of
  494. 21:13the router is to drop the packet if it
  495. 21:15is not
  496. 21:16on the routing table or you have not
  497. 21:19configured
  498. 21:20okay so the default route or the gateway
  499. 21:23of last resort
  500. 21:28okay so the next one would be the
  501. 21:30end-to-end packet forwarding
  502. 21:32so the primary responsibility of the
  503. 21:35packet forwarding function
  504. 21:37is to encapsulate packets in the
  505. 21:39appropriate data link frame
  506. 21:41okay for the outgoing interface for
  507. 21:44example
  508. 21:46the data link frame format for serial
  509. 21:48could be a point to point
  510. 21:50or ppp protocol high level data link
  511. 21:53control or hdlc
  512. 21:55protocol and some other layer to
  513. 21:57protocols like frame relay
  514. 21:59or you also have atm
  515. 22:03or the old ones okay
  516. 22:09all right so i have here an example of
  517. 22:13an end-to-end packet forwarding okay
  518. 22:16so initially pc1 sends
  519. 22:19packet to pc2 okay so this is our source
  520. 22:23here
  521. 22:24and our destination is on pc2
  522. 22:27okay so in the animation
  523. 22:30ec1 sends packet to pct
  524. 22:33okay note that if an arp entry does not
  525. 22:38exist
  526. 22:39in the arp table for the default gateway
  527. 22:43192.168.1.1
  528. 22:45pc1 sends an arp request
  529. 22:48so router 1 would then reply okay
  530. 22:53with an arp reply okay
  531. 22:57so take a look at the animation here
  532. 23:00so because pc2 is on a different network
  533. 23:03i will encapsulate the packet and send
  534. 23:05it to the router
  535. 23:08all right so this package layer three
  536. 23:11data
  537. 23:13okay so that is the first half
  538. 23:16okay or the first movement of the packet
  539. 23:20now let's take a look at what will
  540. 23:22happen when the packet
  541. 23:24reaches r1 going to r2
  542. 23:28okay now r1 forwards packet
  543. 23:32to pc2
  544. 23:36okay so r1 now forwards packet to pc2
  545. 23:40because the exit interface is on an
  546. 23:43ethernet network
  547. 23:44r1 must first resolve the next hub ipv4
  548. 23:48address
  549. 23:49with the destination map address using
  550. 23:51hrp table
  551. 23:53so if an arp entry does not exist in the
  552. 23:56arp table for the nextup interface
  553. 23:58which is 192.168.2.2
  554. 24:02okay r1 sends an arp request
  555. 24:06r2 would then return an arp reply
  556. 24:10same thing with the process happened on
  557. 24:12pc1 and r1
  558. 24:15all right so it has been forwarded now
  559. 24:19to the exit interface
  560. 24:23192.168.2.1 okay
  561. 24:26now your packet now is on r2
  562. 24:29now r2 forwards the packet to r3
  563. 24:33okay r2 now forwards the packet to r3
  564. 24:37so because the exit interface is not an
  565. 24:39ethernet network
  566. 24:41r2 does not have to resolve the next up
  567. 24:43ipv4 address
  568. 24:44with the destination mac address so when
  569. 24:47the exit interface
  570. 24:49is a point-to-point serial connection
  571. 24:53the router encapsulates an ipv4 packet
  572. 24:55into a proper
  573. 24:56data link frame format used by exit
  574. 24:59interface
  575. 25:00it might be an hdlc a ppp or any other
  576. 25:04protocols
  577. 25:05so because there is no mac address on
  578. 25:07the serial interfaces
  579. 25:09r2 sets the data link destination
  580. 25:11address
  581. 25:12to an equivalent of a broadcast
  582. 25:16okay so that is from r2
  583. 25:19to r3
  584. 25:25okay next would be
  585. 25:28r3 forwards the packet to pc2 now
  586. 25:31okay so because the destination ipv4
  587. 25:34address
  588. 25:35is on directly connected ethernet
  589. 25:37network
  590. 25:38r3 must resolve the destination ipv4
  591. 25:41address of the packet
  592. 25:43with its associated mac address so if
  593. 25:46the entry is not on the arp
  594. 25:48table r3 sends an arp request
  595. 25:51out of its fast internet 0 0 interface
  596. 25:55pc2 would then return an irp reply
  597. 25:59with its mac address
  598. 26:02all right
  599. 26:07next packet forwarding mechanisms
  600. 26:10so as mentioned previously the primary
  601. 26:13responsibility of the packet forwarding
  602. 26:15function is to encapsulate packets in an
  603. 26:18appropriate data link frame
  604. 26:20okay so for the outgoing interface so
  605. 26:23the more efficiently a router
  606. 26:26can perform this task the faster packets
  607. 26:28can be forwarded by the router
  608. 26:31so router supports the following three
  609. 26:33packet forwarding mechanisms
  610. 26:35so these are brass switching
  611. 26:39fast switching and the cisco express
  612. 26:42forwarding
  613. 26:43so assume that there is a traffic flow
  614. 26:46which consists
  615. 26:47of five packets they are all going to
  616. 26:50the same destination
  617. 26:52all right okay so let's start with
  618. 26:56process switching so process switching
  619. 27:01is an older packet forwarding mechanism
  620. 27:05still available for cisco routers
  621. 27:09so when a packet arrives in the
  622. 27:10interface
  623. 27:12okay so it is forwarded to the control
  624. 27:15plane
  625. 27:16where the cpu matches the destination
  626. 27:18address
  627. 27:19with an entry in its routing table and
  628. 27:21then determines the exit
  629. 27:23interface and forwards the packet
  630. 27:26to the exit or igris interfaces
  631. 27:29now it is important to understand that
  632. 27:31the router does not
  633. 27:33or does this every packet even if the
  634. 27:36destination
  635. 27:37is on the same network
  636. 27:40for a stream of packets so the process
  637. 27:43switching mechanism is very slow and is
  638. 27:46rarely implemented in modern networks
  639. 27:49contrast this with fast switching
  640. 27:52all right now let's talk about
  641. 27:56fast switching now okay so fast
  642. 27:58switching is another
  643. 28:00older okay packet forwarding mechanism
  644. 28:03which was a successor of
  645. 28:07process switching so fast switching
  646. 28:10uses a fast switching cache to store
  647. 28:14next hub
  648. 28:15information okay so when a packet
  649. 28:19arrives on the
  650. 28:20interface it is forwarded to the control
  651. 28:23plane
  652. 28:24where the cpu searches for the match
  653. 28:27in the fast switching cache
  654. 28:31so if it is not there it is
  655. 28:34process switched and forwarded to the
  656. 28:36exit interface
  657. 28:40all right so the flow information
  658. 28:43for the packet is also stored in a fast
  659. 28:45switching cache
  660. 28:47okay
  661. 28:50if another packet going to the same
  662. 28:52destination arrives on the interface
  663. 28:54the next app information in the cache is
  664. 28:56reused without cpu intervention
  665. 28:59so with fast switching notice how
  666. 29:03only the first packet of flow is a
  667. 29:06process switched or is process switched
  668. 29:09and added to the fast switching cache
  669. 29:13so the next four packets are quickly
  670. 29:14processed based on the information
  671. 29:16of the fast switching cache
  672. 29:21all right so the last one would be the
  673. 29:24cisco express forwarding or cef
  674. 29:27ceph is the most recent and default
  675. 29:29cisco ios
  676. 29:30packet forwarding mechanism so like fast
  677. 29:34switching ceph builds a forwarding
  678. 29:37information base
  679. 29:39or fib okay
  680. 29:43and an adjacency table
  681. 29:46so however the table entries are not
  682. 29:50packed triggered like fast switching
  683. 29:53but change triggered such as
  684. 29:56when something changes in the network
  685. 29:58topology
  686. 29:59so therefore when a network has
  687. 30:02converged
  688. 30:03the fib and adjacency table contains all
  689. 30:06the information that the router would
  690. 30:08have
  691. 30:08to consider when forwarding packet
  692. 30:12so cisco express forwarding is the
  693. 30:14fastest
  694. 30:15forwarding mechanism and the default
  695. 30:18cisco routers and multi-layer switches
  696. 30:21technology
  697. 30:23so ceph builds the fib and adjacency
  698. 30:26table
  699. 30:27after the network has converged when you
  700. 30:30say converge
  701. 30:31this is the state of stability of the
  702. 30:34network
  703. 30:35okay so all five packets are quickly
  704. 30:38processed
  705. 30:39in the data plane
  706. 30:42all right
  707. 30:48okay now let's move on to the basic
  708. 30:51router configuration review
  709. 30:59okay so let's have our topology here a
  710. 31:01router creates a routing table
  711. 31:04to help it determine where to forward
  712. 31:06packets
  713. 31:08okay so but before diving into the
  714. 31:10details of the ib routing table
  715. 31:12so this topic reviews basic router
  716. 31:15configuration
  717. 31:17and verification tasks
  718. 31:20all right so the topology in the figure
  719. 31:23will be used
  720. 31:24for configuration and verification
  721. 31:26examples
  722. 31:27so it will also be used in the next
  723. 31:30topic to discuss
  724. 31:31the ip routing table so our topology
  725. 31:33comprises of
  726. 31:34several routers and switches
  727. 31:38with four clients connected to it okay
  728. 31:41so the isp or the internet is connected
  729. 31:44via r2
  730. 31:46and it might be propagated going to r1
  731. 31:50okay all right so basic configuration
  732. 31:55okay so review so to configure your
  733. 31:59router so basic setup is necessary
  734. 32:01and this basic setup includes something
  735. 32:04like configuring the hostname
  736. 32:06okay enabling the secret password via
  737. 32:09enable secret your password you've got
  738. 32:13line console 0 lagging synchronous
  739. 32:15password is called login
  740. 32:17now light console 0 is being used okay
  741. 32:21so whenever you want to get in into the
  742. 32:23router for the first time
  743. 32:24okay and prompted you a password that is
  744. 32:27the line console zero
  745. 32:29right so line vty zero to four here
  746. 32:34this is being used for remote access
  747. 32:38okay so there are five virtual lines
  748. 32:40zero to four password cisco login
  749. 32:43transport input ssh
  750. 32:45telnet exit so when you want to remotely
  751. 32:48access
  752. 32:48r1 okay so from other
  753. 32:51device or remote devices the line vty is
  754. 32:55in effect
  755. 32:56okay so this is used for remote access
  756. 32:59okay the next the next configuration
  757. 33:02here is the service password encryption
  758. 33:05okay so the service password encryption
  759. 33:08encrypted all the passwords
  760. 33:10used in the configuration all right
  761. 33:14and then you also have here the banner
  762. 33:16motd
  763. 33:18so warning and authorized access is
  764. 33:20prohibited so this will gives you
  765. 33:22some notifications okay so but then it's
  766. 33:25mostly used for legal purposes
  767. 33:27all right next
  768. 33:32for ipv6 this is how we configured ipv6
  769. 33:35of course we've started
  770. 33:37with ipv6 unicast routing and then
  771. 33:40configuring
  772. 33:41an ip address so interface gigi ethernet
  773. 33:44zero zero zero zero
  774. 33:46so description link to land one ip
  775. 33:49address
  776. 33:50ipv6 address and of course no shutdown
  777. 33:53right we have to enable the interface
  778. 33:55okay so after all the configurations
  779. 33:59we have to save it using the command
  780. 34:01copy run
  781. 34:02start all right so this is the basic
  782. 34:05configuration of a router
  783. 34:07from the basic setup to the ip
  784. 34:11assignment
  785. 34:12okay and then saving
  786. 34:16now we have some verifications or common
  787. 34:18verification commands
  788. 34:20okay so which includes show ip interface
  789. 34:22brief
  790. 34:23show run right you
  791. 34:26also have show interfaces
  792. 34:30show ip interface show ipad out and
  793. 34:33ping so in its case replace ip with ipv6
  794. 34:38if you want to use the ipv6 version of
  795. 34:40it
  796. 34:41all right
  797. 34:45okay so using our topology presented
  798. 34:48earlier
  799. 34:48okay our reference is on r1
  800. 34:51now when you have show ip interface
  801. 34:53brief it will gives
  802. 34:55us the interface name right so the ip
  803. 34:57address assigned to it
  804. 35:00so the status all right and the protocol
  805. 35:03status
  806. 35:05right if it is up or down the show ip
  807. 35:08interface
  808. 35:09brief this one is very useful in
  809. 35:10troubleshooting
  810. 35:13all right
  811. 35:17so the next one would be show ipv6
  812. 35:20interface proof
  813. 35:22now this will gives us all the ipv6
  814. 35:26configured interfaces including the ip
  815. 35:30address and the status all right
  816. 35:35next show run or show running config
  817. 35:38interface
  818. 35:39giga ethernet 000 now this would give us
  819. 35:42the details or the information about the
  820. 35:44gigabit
  821. 35:45ethernet 000 but without this option
  822. 35:49here
  823. 35:50it will show us all the configured
  824. 35:54information about the routers
  825. 35:57now in this case this gives only
  826. 35:59information about
  827. 36:01the configurations made on the specific
  828. 36:04interface which is gigabit ethernet
  829. 36:070.0 all right so the showrun command
  830. 36:11will just show us what we have
  831. 36:13configured
  832. 36:14on the device or specifically on the
  833. 36:17interface
  834. 36:20okay so if you want to get the details
  835. 36:24of the gigabit ethernet 000 or specific
  836. 36:28interface
  837. 36:29so your command should be show
  838. 36:30interfaces and then the specific
  839. 36:32interface
  840. 36:33now this would give us okay so the
  841. 36:35status
  842. 36:36all right this one is up okay
  843. 36:40line protocol is up you can also see
  844. 36:43here the
  845. 36:44ip address assigned right
  846. 36:47so the maximum transfer unit the
  847. 36:49bandwidth
  848. 36:50the delay encapsulation okay
  849. 36:54so the duplex mode and so on and that
  850. 36:57information
  851. 36:58all right relates to gigabit ethernet
  852. 37:01zero zero zero
  853. 37:06next show ip interface gigabit ethernet
  854. 37:09000
  855. 37:12right so specific information again
  856. 37:14about the interfaces
  857. 37:16okay so including the technology
  858. 37:19supported
  859. 37:20on that specific interface so something
  860. 37:23like the ipsef
  861. 37:24switching is enabled right so the mtu is
  862. 37:28still there
  863. 37:29okay the ip address
  864. 37:33and the subnet mask is also indicated
  865. 37:39next for ipv6 version of the command you
  866. 37:42can have show ipv6 interface
  867. 37:44gigabit ethernet zero zero so this is
  868. 37:46the same without of ipv4
  869. 37:50all right so the next one would be show
  870. 37:52iprout
  871. 37:54okay so this is the routing table so
  872. 37:56basically what you see here are just c
  873. 37:58and l okay so c means
  874. 38:01directly connected and l basically these
  875. 38:04are the local ip address
  876. 38:07okay or the ip address connected to the
  877. 38:09specific interface
  878. 38:10denoted by l
  879. 38:14okay now displaying the ipv6
  880. 38:17route show ipv6 route displays only
  881. 38:20the ipv6 equivalents
  882. 38:26okay and the last verification command
  883. 38:29is of course ping
  884. 38:31right so would it be ipv4 or ipv6 we
  885. 38:34have a simple command and single command
  886. 38:36ping ip address
  887. 38:41okay so we can also filter the command
  888. 38:44output
  889. 38:45okay so another useful feature
  890. 38:49that improves user experience in the
  891. 38:51command line interface or cli
  892. 38:54is filtering the show output so
  893. 38:57filtering commands
  894. 38:58can be used to display specific sections
  895. 39:00of the output
  896. 39:02so to enable the filtering command we
  897. 39:04are using the pipe
  898. 39:05character no after the show command
  899. 39:09and then enter a filtering parameters
  900. 39:12and filtering expression
  901. 39:14so this includes section
  902. 39:17include exclude and begin
  903. 39:20okay now section this displays the
  904. 39:24intersection
  905. 39:25that starts with a filtering expression
  906. 39:28okay so i'm going to give you an example
  907. 39:31as we progresses on this
  908. 39:32video lecture now include
  909. 39:36this includes all output lines that
  910. 39:39matches the filtering expression
  911. 39:42exclude this excludes all
  912. 39:45output lines that match the filtering
  913. 39:48expression
  914. 39:49so this is the opposite of include and
  915. 39:51you also
  916. 39:52begin this displays all the output lines
  917. 39:56from a certain point
  918. 39:57starting with the line that matches the
  919. 39:59filtering expression
  920. 40:02so take note that output filters can be
  921. 40:04used in combinations with
  922. 40:06show commands all right
  923. 40:10so we have here an example okay
  924. 40:14so show running config
  925. 40:17okay so pipeline section line pty so if
  926. 40:20you will observe
  927. 40:21the output should start with line vty so
  928. 40:24if you have
  929. 40:24several line vty there that would be
  930. 40:27displayed
  931. 40:28starting on that point line vty
  932. 40:31okay so instead of typing show run
  933. 40:34that will display all all the
  934. 40:36configurations made on the device
  935. 40:38or onto the router so we could simplify
  936. 40:41okay and minimize the output by using
  937. 40:44this
  938. 40:45pipeline commands all right so another
  939. 40:48example is
  940. 40:49show ipv6 interface brief
  941. 40:53include app so this will display only
  942. 40:56all configurations okay
  943. 41:00or all the status of the interface on
  944. 41:03ipv6
  945. 41:05which includes the status up
  946. 41:10all right so next would be show ip
  947. 41:13interface brief
  948. 41:15exclude unassigned okay so this will not
  949. 41:18display
  950. 41:20any interfaces that are unassigned so if
  951. 41:23you want to see only
  952. 41:26interfaces without the unassigned status
  953. 41:29or ip address there
  954. 41:30which is set to unassigned okay in the
  955. 41:33specific interface then you could use
  956. 41:35the exclude
  957. 41:36anything that you don't want to see on
  958. 41:37the output use exclude
  959. 41:43all right so next show ip route
  960. 41:46begin gateway okay
  961. 41:49so what will happen is on the routing
  962. 41:52table
  963. 41:52this is take note show ipad
  964. 41:56so this will display the routing table
  965. 41:59starting with or beginning with the
  966. 42:01gateway
  967. 42:02keyword so gateway of last resort is not
  968. 42:04set so
  969. 42:05that would give you the output
  970. 42:13all right now let's talk about ip
  971. 42:16routing table
  972. 42:20do you know how to read routing table
  973. 42:22let's see
  974. 42:23okay so let's start with route sources
  975. 42:27how does a router know where it can send
  976. 42:30packets it creates a routing table
  977. 42:33that is based on the network in which it
  978. 42:36is located
  979. 42:37so a routing table contains a list of
  980. 42:40routes
  981. 42:41to known network so prefix
  982. 42:44prefix length okay so the source of this
  983. 42:47information is derived from the
  984. 42:49following
  985. 42:50so again we've covered already directly
  986. 42:53connected networks
  987. 42:54static routes dynamic routing protocols
  988. 42:58so these three are the sources of
  989. 43:01the information in the routing table
  990. 43:04okay
  991. 43:05so the source for each of the route in
  992. 43:07the routing table is identified
  993. 43:09by l c s
  994. 43:12o asterisk and so on okay so for now
  995. 43:15let us limit ourselves with this
  996. 43:18characters here
  997. 43:19l identifies the address assigned to the
  998. 43:22router interface
  999. 43:24okay so whatever ip address you assigned
  1000. 43:26on that
  1001. 43:27interface or specific router it will be
  1002. 43:30noted as
  1003. 43:30l in the routing table okay
  1004. 43:33next c identifies a directly connected
  1005. 43:37network
  1006. 43:38so basically your l is just a component
  1007. 43:41of c okay
  1008. 43:44so l is the specific ip address assigned
  1009. 43:47to the interface
  1010. 43:48and that specific ip address belongs to
  1011. 43:51a network
  1012. 43:52c okay next
  1013. 43:55is s s is for static route
  1014. 43:59okay o identifies a dynamically learned
  1015. 44:02network
  1016. 44:03information from another router using
  1017. 44:06the ospf routing protocol
  1018. 44:08you also have d okay for eigrp
  1019. 44:12now asterisk this route is a candidate
  1020. 44:15for a default route right
  1021. 44:21now in the routing tables for r1 and r2
  1022. 44:25notice that the sources of each route
  1023. 44:28are identified by code
  1024. 44:30so the code identifies how the route was
  1025. 44:32learned
  1026. 44:33right for instance common codes such as
  1027. 44:37the l okay the c
  1028. 44:41o and then you also have there the
  1029. 44:44o asterisk or the asterisk this route is
  1030. 44:48candidates for a default route
  1031. 44:51all right so if you'll observe
  1032. 44:54see there are the directly connected
  1033. 44:56networks
  1034. 44:57okay so for instance 10 0 1 0
  1035. 45:0110 0 1 0 is this network here
  1036. 45:06all right it's directly connected to r1
  1037. 45:09another one is 10
  1038. 45:10020 which is this network
  1039. 45:14so take note that we have three directly
  1040. 45:16connected networks to r1
  1041. 45:18let us evaluate that and the third one
  1042. 45:21would be
  1043. 45:2210 0 3 0 here okay
  1044. 45:25that's 10 0 3 0. so we have three c's
  1045. 45:29there
  1046. 45:29these are the three directly connected
  1047. 45:31networks to r1
  1048. 45:33how about l l are the ip addresses
  1049. 45:37assigned to a specific interface
  1050. 45:40so we have also 3l here this one
  1051. 45:43which is 10 0 1 1 right you've got 10
  1052. 45:460 1 1 you also have
  1053. 45:5010 0 2 1 then 0 2 1
  1054. 45:53and the third one is 10 0
  1055. 45:563 1 okay now letter o
  1056. 46:00here it means dynamic routes
  1057. 46:04learned from the remote networks or r2
  1058. 46:10all right
  1059. 46:14next on r2 now evaluating r2 here
  1060. 46:19okay so we have one two
  1061. 46:23three four okay so we have four
  1062. 46:26directly connected networks you've got
  1063. 46:28one two three
  1064. 46:30four so usually the number of directly
  1065. 46:33connected networks is also the number of
  1066. 46:36l you have there so one two three
  1067. 46:40four okay because these are the ip
  1068. 46:42addresses
  1069. 46:43configured on the interface okay
  1070. 46:46so take note that we also have s here
  1071. 46:49okay what is that
  1072. 46:50s okay so the the gateway of last resort
  1073. 46:54was configured so that means the default
  1074. 46:55route was set on this router
  1075. 46:57and that is denoted by s asset is there
  1076. 47:02all right
  1077. 47:07okay so routing table principles there
  1078. 47:10are three routing table principles as
  1079. 47:11described in the table
  1080. 47:14so these are issues that are addressed
  1081. 47:17by the proper configuration of dynamic
  1082. 47:20routing protocols
  1083. 47:22or static routes
  1084. 47:26on all the routers between the source
  1085. 47:27and destination devices
  1086. 47:31okay so the first one would be every
  1087. 47:33router makes
  1088. 47:34its decision alone based on the
  1089. 47:37information it has
  1090. 47:39in its own routing table okay
  1091. 47:43second the information in the routing
  1092. 47:45table
  1093. 47:46of one router does not necessarily match
  1094. 47:50the routing table of another router
  1095. 47:53and then third routing information about
  1096. 47:56a path
  1097. 47:57does not provide return routing
  1098. 47:59information
  1099. 48:00so you have to manually set the return
  1100. 48:03trip
  1101. 48:04okay if you are using static okay
  1102. 48:07now if it is dynamic well let the
  1103. 48:09routers discover
  1104. 48:10all the possible paths okay to reach the
  1105. 48:13destination
  1106. 48:18okay so as network administrator
  1107. 48:22it is imperative to know how to
  1108. 48:24interpret the content of an ipv4
  1109. 48:27and ipv6 routing tables
  1110. 48:31so the figure displays an ipv4 and ipv6
  1111. 48:34routing table
  1112. 48:35entries on r1 for route to remote
  1113. 48:38network
  1114. 48:3910 0 0 okay or 10 0 for zero slash 24
  1115. 48:44and
  1116. 48:452001 tb8 acad
  1117. 48:484 colon colon 64. both
  1118. 48:52this routes were learned dynamically
  1119. 48:54from ospf routing protocols
  1120. 48:57okay so basically we have here okay so
  1121. 49:02the information available so the first
  1122. 49:04one
  1123. 49:04or one there denotes a route source
  1124. 49:08so this identifies how the route
  1125. 49:11was learned and this is via dynamic
  1126. 49:14since o
  1127. 49:14is ospf and it's a dynamic routing
  1128. 49:17protocol
  1129. 49:19so the second one is a destination
  1130. 49:21network so prefix and prefix length
  1131. 49:24so this identifies the address of the
  1132. 49:26remote network so this is your
  1133. 49:28destination network here
  1134. 49:30going to 10 0 four zeros last 24.
  1135. 49:35the third one is an administrative
  1136. 49:37distance this identifies the
  1137. 49:39trustworthiness of the route source
  1138. 49:41lower values indicate preferred route
  1139. 49:44source
  1140. 49:45okay so the level of believability or
  1141. 49:48the level of trustworthiness
  1142. 49:50is the administrative distance and in
  1143. 49:52this case this is 110.
  1144. 49:54ospf administrative distance is 110
  1145. 49:59right now
  1146. 50:02at the bottom of 110 is 50 this pertains
  1147. 50:05to the metric
  1148. 50:07this identifies the value assigned
  1149. 50:10to reach the remote network so lower
  1150. 50:13values
  1151. 50:14indicate preferred routes
  1152. 50:18so number five is the next tab okay this
  1153. 50:21identifies the ip address of the next
  1154. 50:23router
  1155. 50:24to which the packet would be forwarded
  1156. 50:30all right and number six
  1157. 50:34is a route timestamp this identifies
  1158. 50:38how much time has passed since the route
  1159. 50:40was
  1160. 50:41learned and the last one
  1161. 50:44is exit interface this identifies
  1162. 50:47the agress interface to use for the
  1163. 50:49outgoing
  1164. 50:51packets to reach their final destination
  1165. 50:56all right so take note that the prefix
  1166. 50:59length of the destination network
  1167. 51:00specifies the minimum number
  1168. 51:02of a far left bits that must match
  1169. 51:06between the ip address of the packet and
  1170. 51:09the destination network
  1171. 51:10or prefix for this route to be used
  1172. 51:13[Music]
  1173. 51:17okay
  1174. 51:21how about directly connected networks so
  1175. 51:23before a router can learn about
  1176. 51:25any remote networks it must have at
  1177. 51:28least
  1178. 51:29one active interface configured with an
  1179. 51:31ip address and subnet mask
  1180. 51:33or prefix length so this
  1181. 51:36is known as directly connected networks
  1182. 51:39or directly connected route
  1183. 51:41so routers add a directly connected
  1184. 51:44route to its routing table
  1185. 51:45when an interface is configured with an
  1186. 51:47ip address and is activated
  1187. 51:50so a directly connected network is
  1188. 51:52denoted by the status c
  1189. 51:54in the routing table as presented
  1190. 51:56earlier
  1191. 51:58now the route contains a network prefix
  1192. 52:00and a prefix length
  1193. 52:01okay so the routing table also contains
  1194. 52:04a local route
  1195. 52:06for each of its directly connected
  1196. 52:09networks indicated by the status code of
  1197. 52:12l so
  1198. 52:15also this is the ip address
  1199. 52:18that is assigned to the interface on
  1200. 52:21that directory connected networks which
  1201. 52:23is l
  1202. 52:24okay for ipv4 local routes the prefix
  1203. 52:27length is 32
  1204. 52:29and for ipv6 local routes the prefix
  1205. 52:32length is 128
  1206. 52:34okay so this means that the destination
  1207. 52:37ip address of the packet
  1208. 52:38must match all the bits in the local
  1209. 52:41route for this route to be matched
  1210. 52:44so the purpose of the local route is to
  1211. 52:46efficiently determine
  1212. 52:48when it receives a packet for interface
  1213. 52:50instead of a packet that needs to be
  1214. 52:52forwarded
  1215. 52:58okay so on this output here
  1216. 53:01so i put out directly connected networks
  1217. 53:03are denoted by
  1218. 53:05c and l so the first output here is for
  1219. 53:08ipv4
  1220. 53:10and the next output would be for ipv6
  1221. 53:17all right so the next one is static
  1222. 53:19routes
  1223. 53:21so after directly connected interfaces
  1224. 53:23are configured and added to the routing
  1225. 53:25table
  1226. 53:26static or dynamic routing can be
  1227. 53:28implemented
  1228. 53:29for accessing remote networks so static
  1229. 53:32routes are manually configured
  1230. 53:35they define an explicit path between two
  1231. 53:38networking devices
  1232. 53:40so unlike dynamic routing protocol
  1233. 53:42static routes are not
  1234. 53:44automatically updated and must be
  1235. 53:47manually reconfigured if the network
  1236. 53:49topology changes
  1237. 53:51so the benefits of using static routes
  1238. 53:53include improved
  1239. 53:54security and resource efficiency so
  1240. 53:57static routes
  1241. 53:58use less bandwidth than dynamic routing
  1242. 54:01protocols
  1243. 54:02and no cpu cycles are used to calculate
  1244. 54:05and communicate
  1245. 54:06routes so the main disadvantages
  1246. 54:09to using static router is the lack of
  1247. 54:11automatic reconfiguration
  1248. 54:14if the network topology changes
  1249. 54:17okay so static routing has three primary
  1250. 54:20uses so first it provides
  1251. 54:25ease of routing table maintenance in
  1252. 54:27smaller networks
  1253. 54:29that are not expected to grow
  1254. 54:30significantly
  1255. 54:33second it uses a single default route
  1256. 54:36to represent a path to any network
  1257. 54:39that does not have a more specific match
  1258. 54:42with another route in the routing table
  1259. 54:44so default routes are used to send
  1260. 54:47traffic to any destination beyond the
  1261. 54:49next
  1262. 54:50upstream router and
  1263. 54:53it routes two and stop networks
  1264. 54:57a stop network is a network accessed by
  1265. 54:59single drop
  1266. 55:01okay and the router has only one
  1267. 55:04neighbor that stop network okay
  1268. 55:11now in this example a static route
  1269. 55:15can be configured on r2
  1270. 55:19okay to reach
  1271. 55:22the r1 network additionally because r1
  1272. 55:25has
  1273. 55:26only one way to send out non-local
  1274. 55:29traffic
  1275. 55:30a default route or a default static
  1276. 55:32route can be configured on r1
  1277. 55:34to point to r2 as the next hub for all
  1278. 55:37other networks
  1279. 55:39okay so basically the good thing about
  1280. 55:41static routes this one is secure
  1281. 55:44because you have to manually identify
  1282. 55:47okay so the the route second
  1283. 55:51this is good for small networks
  1284. 55:55as it uses less resources
  1285. 55:58right but then this is not an ideal
  1286. 56:00solution for
  1287. 56:01an enterprise network all right
  1288. 56:09okay so static routes in the ip routing
  1289. 56:11table so for demonstrating static
  1290. 56:13routing
  1291. 56:14so the topology in the figure is
  1292. 56:15simplified to show only one lan attached
  1293. 56:19to its router
  1294. 56:20okay the figure shows ipv4 and ipv6
  1295. 56:24static routes configured on
  1296. 56:26r1 okay
  1297. 56:30to reach 10 0 four zero and
  1298. 56:332001 db8 at fours colon colon
  1299. 56:3764 networks on r2 so the configuration
  1300. 56:40commands
  1301. 56:41are for demonstration only and are
  1302. 56:44discussed in another module
  1303. 56:46okay so the output shows that the ipb4
  1304. 56:51and ipv6 static routing entries on r1
  1305. 56:55that can reach 10 0 for zero 24
  1306. 56:58and 2001 db8 i had 4
  1307. 57:02colon colons 64 networks in r2
  1308. 57:05so notice that both routing entries use
  1309. 57:08the status code s
  1310. 57:10okay when we run the show iprout command
  1311. 57:14there
  1312. 57:15indicating that the route was learned by
  1313. 57:17static route
  1314. 57:19okay so both entries also include an ip
  1315. 57:22address
  1316. 57:23of the next hub router via ip address
  1317. 57:27okay so the static parameter at the end
  1318. 57:30of the command displays
  1319. 57:31only one or only static routes
  1320. 57:36okay so this is it
  1321. 57:44right you've got s for both ipv4 and
  1322. 57:47ipv6
  1323. 57:49you've got the destination network
  1324. 57:51destination network
  1325. 57:53and then you've got the next hub next up
  1326. 57:55there
  1327. 58:00okay so how about dynamic routing
  1328. 58:02protocols
  1329. 58:04so dynamic routing protocols are used by
  1330. 58:06routers to automatically share
  1331. 58:08information about the reachability
  1332. 58:10and status of remote networks so dynamic
  1333. 58:13routing protocols perform
  1334. 58:14several activities including network
  1335. 58:16discovery and maintaining routing tables
  1336. 58:19so important advantages of routing or
  1337. 58:22dynamic routing protocols are the
  1338. 58:24ability to select
  1339. 58:25a best path and ability
  1340. 58:29to automatically discover a new best
  1341. 58:32path
  1342. 58:33when there is a change in the topology
  1343. 58:35so
  1344. 58:36network discovery is the ability of the
  1345. 58:38routing protocol to share information
  1346. 58:40about the networks
  1347. 58:42that it knows about with other routers
  1348. 58:46that are also using the same routing
  1349. 58:48protocols so instead of depending on the
  1350. 58:51manually configured static routes to
  1351. 58:52remote networks on
  1352. 58:54every router a dynamic routing protocol
  1353. 58:56allows the routers
  1354. 58:58to dynamically or automatically learn
  1355. 59:01about these networks
  1356. 59:02from the other routers so this networks
  1357. 59:06okay and the best path to each are added
  1358. 59:09to the routing table
  1359. 59:10of the router and identified as network
  1360. 59:14learned by specific dynamic routing
  1361. 59:16protocols
  1362. 59:18so the figure here shows router r1
  1363. 59:22and r2 using a common routing protocols
  1364. 59:25to share network information
  1365. 59:28all right
  1366. 59:33now in the previous example we use
  1367. 59:35static routes
  1368. 59:372.1040 slash 24 and 2001 db8 ahad
  1369. 59:42right for colon colon slash 64 networks
  1370. 59:46so this static routes are no longer
  1371. 59:48configured
  1372. 59:50and ospf is now being used to
  1373. 59:53dynamically learn
  1374. 59:54all the networks connected to r1 and r2
  1375. 59:57so the following examples show an ipb
  1376. 1:00:00for an ipv6 ospf
  1377. 1:00:03routing entries on r1 that
  1378. 1:00:06can reach this networks on r2
  1379. 1:00:10okay so if you will observe it is now
  1380. 1:00:12denoted by o there
  1381. 1:00:14okay or ospf okay
  1382. 1:00:17so notice that both routing entries
  1383. 1:00:21use the status code o to indicate that
  1384. 1:00:23the route was learned by
  1385. 1:00:25ospf routing protocols so both
  1386. 1:00:28entries also include the ip address of
  1387. 1:00:30the nexup router
  1388. 1:00:32via ip address
  1389. 1:00:35right
  1390. 1:00:39so take note that ipv6 routing protocols
  1391. 1:00:42use the link local address of the
  1392. 1:00:45nexthub router
  1393. 1:00:47ospf routing configuration for ipv4 and
  1394. 1:00:50ipv6
  1395. 1:00:51are beyond the scope of this course all
  1396. 1:00:54right
  1397. 1:00:58okay so the next one would be the
  1398. 1:01:00default route
  1399. 1:01:02a default route is similar to a default
  1400. 1:01:05gateway on a host
  1401. 1:01:07the default route specifies the next hub
  1402. 1:01:10router to use when the routing table
  1403. 1:01:13does not contain a specific route
  1404. 1:01:15that matches the destination ip address
  1405. 1:01:17so a default route can be either
  1406. 1:01:20static or learned automatically from a
  1407. 1:01:22dynamic routing protocol
  1408. 1:01:25so a default route has an ipv4 route
  1409. 1:01:28entry of
  1410. 1:01:320.0.0.0
  1411. 1:01:33slash zero or an ipv6 route entry of
  1412. 1:01:39colon colon slash zero so this means
  1413. 1:01:42that zero or no bits need to match
  1414. 1:01:46between the destination ip address and
  1415. 1:01:48the default route
  1416. 1:01:50okay now most enterprise routers
  1417. 1:01:54have a default route in their routing
  1418. 1:01:56table this is to reduce the number of
  1419. 1:01:59routes
  1420. 1:01:59in the routing table so a router
  1421. 1:02:03such as home or small office router
  1422. 1:02:06that has only one lan may reach all its
  1423. 1:02:09network
  1424. 1:02:10or remote networks through a default
  1425. 1:02:11route this is useful when the router has
  1426. 1:02:15only one directly connected networks
  1427. 1:02:17and one exit point to a service provider
  1428. 1:02:20router
  1429. 1:02:22so in the figure here okay
  1430. 1:02:25so r1 and r2 are using ospf to see our
  1431. 1:02:29routing information about their networks
  1432. 1:02:32okay you've got the 10 0 x x 24
  1433. 1:02:36and then you've got the 2001 db8 account
  1434. 1:02:39x
  1435. 1:02:40slash 64.
  1436. 1:02:43so r2 has the static route to the isp
  1437. 1:02:49okay and then r2 will forward any
  1438. 1:02:52packets with destination ip address
  1439. 1:02:55that does not specifically match one of
  1440. 1:02:57the networks in its routing table
  1441. 1:02:59to the isp router so this would include
  1442. 1:03:03all packets distinct
  1443. 1:03:05to the internet
  1444. 1:03:10okay so next r2
  1445. 1:03:13has a default static route to the isp
  1446. 1:03:16router
  1447. 1:03:17and then the default route is advertised
  1448. 1:03:19by r2 to r1
  1449. 1:03:21using dynamic routing protocol ospf
  1450. 1:03:24so r2 has shared its default route with
  1451. 1:03:28r1 using
  1452. 1:03:30ospf okay so r1
  1453. 1:03:34will now have a default route in its
  1454. 1:03:36routing table
  1455. 1:03:38that it specifically match one of the
  1456. 1:03:41networks
  1457. 1:03:42in its routing table to r2
  1458. 1:03:47okay okay so
  1459. 1:03:50here's the sample output of the default
  1460. 1:03:53route
  1461. 1:03:54okay default route on r2
  1462. 1:03:57okay loaded by s asterisk you've got
  1463. 1:04:00here 0.0.0 the zeros that's
  1464. 1:04:03zero and a default route also on r2 for
  1465. 1:04:06ipv6 which is colon colon slash
  1466. 1:04:09zero there all right
  1467. 1:04:17okay so how about the structure of an
  1468. 1:04:20ipb for routing table
  1469. 1:04:23so ipb4 was standardized in the early
  1470. 1:04:251980s
  1471. 1:04:26during the now obsolete classful
  1472. 1:04:28addressing architecture
  1473. 1:04:31so the ipv4 routing table is organized
  1474. 1:04:34using
  1475. 1:04:34this same class full structure
  1476. 1:04:38in the show ip route output notice that
  1477. 1:04:41some route entries are left justified
  1478. 1:04:45where others are indented
  1479. 1:04:48okay so this is based on how the routing
  1480. 1:04:50process
  1481. 1:04:52searches the ipb for routing table for
  1482. 1:04:54the longest match
  1483. 1:04:56so this was all because of classful
  1484. 1:04:58addressing
  1485. 1:05:00so although the lookup process no longer
  1486. 1:05:03uses classes
  1487. 1:05:04okay so the structure of the ipv routing
  1488. 1:05:07table still remains in this
  1489. 1:05:09format
  1490. 1:05:13okay so although the details of the
  1491. 1:05:16structure are beyond the scope this
  1492. 1:05:18module
  1493. 1:05:19it is helpful to recognize the structure
  1494. 1:05:22of the table
  1495. 1:05:23okay so as indented entry is known
  1496. 1:05:26as a child route
  1497. 1:05:31okay so
  1498. 1:05:34you'll have this dented right
  1499. 1:05:38on the routing table so an indented
  1500. 1:05:41entry is known as a child route
  1501. 1:05:43a route entry is indented
  1502. 1:05:46if it is the subnet of a classful
  1503. 1:05:48address class a b
  1504. 1:05:49or c network so directly connected
  1505. 1:05:52networks will always be
  1506. 1:05:54indented okay or child routes because
  1507. 1:05:57the local address of the interface is
  1508. 1:05:59always entered
  1509. 1:06:01in the routing table as slash 32
  1510. 1:06:05so the child route will include the
  1511. 1:06:07route source
  1512. 1:06:09and all the forwarding information such
  1513. 1:06:11as the next hub address
  1514. 1:06:12okay so the classful network address
  1515. 1:06:16of this subnet will only be shown above
  1516. 1:06:18the route entry
  1517. 1:06:20less indented and without a source code
  1518. 1:06:23so the route is known as the parent
  1519. 1:06:26route
  1520. 1:06:27okay so this is just a brief
  1521. 1:06:30introduction to the structure of an ipv4
  1522. 1:06:32routing
  1523. 1:06:33table and does not cover details of the
  1524. 1:06:36specifics
  1525. 1:06:37of this architecture
  1526. 1:06:40okay so if you will observe from the
  1527. 1:06:42output here
  1528. 1:06:44192.168.1.0 is variably subnetted
  1529. 1:06:49okay 192.168.1.04
  1530. 1:06:52and under that okay so this four
  1531. 1:06:56here are indented so these are the child
  1532. 1:06:59or children and this is the parent okay
  1533. 1:07:02so that's the structure of
  1534. 1:07:04an ipp for routing table
  1535. 1:07:09okay so in this example
  1536. 1:07:13shows the ipb4 routing table for r1 in
  1537. 1:07:16the topology
  1538. 1:07:17notice that all of the networks in the
  1539. 1:07:20topology are subnets
  1540. 1:07:21so which are child routes
  1541. 1:07:24okay and then these are child routes of
  1542. 1:07:28the class a network
  1543. 1:07:30and the parent route 10 0
  1544. 1:07:340 0 so all of these are
  1545. 1:07:37child routes right and then you've got
  1546. 1:07:39the parent route there
  1547. 1:07:43now how about for ipv6 so the concept of
  1548. 1:07:47classful addressing was never part
  1549. 1:07:49of ipv6 so the structure of an ipv6
  1550. 1:07:52routing table is very straightforward
  1551. 1:07:54so every ipv6 route entry is formatted
  1552. 1:07:58and aligned
  1553. 1:07:59the same way all right
  1554. 1:08:06okay so next would be the administrative
  1555. 1:08:08distance
  1556. 1:08:10okay so from the previous course you
  1557. 1:08:13have in cisco
  1558. 1:08:14administrative distance pertains to the
  1559. 1:08:16level of trustworthiness or the
  1560. 1:08:18believability
  1561. 1:08:20okay so a route entry for a specific
  1562. 1:08:22network address or prefix or prefix
  1563. 1:08:24length
  1564. 1:08:25can only appear once in the routing
  1565. 1:08:28table
  1566. 1:08:28however it is possible that the routing
  1567. 1:08:31table learns about the same network
  1568. 1:08:33address
  1569. 1:08:34from other than one routing source
  1570. 1:08:37except for a very specific circumstances
  1571. 1:08:40only one dynamic routing protocol should
  1572. 1:08:43be implemented on a router however
  1573. 1:08:45it is possible to configure both ospf
  1574. 1:08:48and eigrp on the router and both
  1575. 1:08:52running okay or both routing protocols
  1576. 1:08:55may learn the same destination network
  1577. 1:08:58so each protocol or routing protocols
  1578. 1:09:01may decide on a different path
  1579. 1:09:03to reach the destination based on the
  1580. 1:09:05metric of the routing table
  1581. 1:09:08so this raises a few questions about
  1582. 1:09:12or such as the following okay so how
  1583. 1:09:15does the router know
  1584. 1:09:17which source to use or which route
  1585. 1:09:21should it install in the routing table
  1586. 1:09:24okay now cisco ios uses
  1587. 1:09:28what is known as the administrative
  1588. 1:09:29distance or ad
  1589. 1:09:31to determine the route to install into
  1590. 1:09:34the ib routing table
  1591. 1:09:36so the ad or administrative distance
  1592. 1:09:38represents the trustworthiness
  1593. 1:09:41okay so the lower the ad the more
  1594. 1:09:44trustworthy
  1595. 1:09:46okay so because eigrp has an id of 90
  1596. 1:09:50and though spf has an id of 110
  1597. 1:09:53the eigrp route entry would be installed
  1598. 1:09:56in the routing table
  1599. 1:09:58all right so the ad does not necessarily
  1600. 1:10:01represent
  1601. 1:10:02which dynamic routing protocol is best
  1602. 1:10:08now take a look at the table here so
  1603. 1:10:11a more common example is a router
  1604. 1:10:13learning the same
  1605. 1:10:14network address from the static route
  1606. 1:10:17and dynamic routing protocol such as
  1607. 1:10:19ospf
  1608. 1:10:20so a static route has an id of one
  1609. 1:10:25okay so directly connected is of course
  1610. 1:10:27zero
  1611. 1:10:29right so
  1612. 1:10:32ospf has an id of
  1613. 1:10:37110 okay now when a router has the
  1614. 1:10:41choice of
  1615. 1:10:42static okay and ospf route
  1616. 1:10:46the static route takes precedence
  1617. 1:10:49so directly connected networks have the
  1618. 1:10:51lowest id of zero
  1619. 1:10:53only directly connected networks can
  1620. 1:10:56have an
  1621. 1:10:57id of zero right so this table
  1622. 1:11:00summarizes
  1623. 1:11:02the routing protocols and their
  1624. 1:11:03associated administrative distance all
  1625. 1:11:12right so how about static and dynamic
  1626. 1:11:14routing
  1627. 1:11:15okay are we going to use static or
  1628. 1:11:18dynamic which one is for us
  1629. 1:11:20okay now the previous topic discussed
  1630. 1:11:22the ways
  1631. 1:11:23that router creates its routing tables
  1632. 1:11:27so you now know that routing like ip
  1633. 1:11:30addressing
  1634. 1:11:31can be either static or dynamic should
  1635. 1:11:34you use static or dynamic routing
  1636. 1:11:37the answer is both okay so static and
  1637. 1:11:40dynamic routing are not mutually
  1638. 1:11:42exclusive
  1639. 1:11:43rather most network user combinations
  1640. 1:11:47of dynamic routing protocols and static
  1641. 1:11:49routes
  1642. 1:11:51now for static routes static routes
  1643. 1:11:54are commonly used in the following
  1644. 1:11:56scenarios
  1645. 1:11:58so as a default route forwarding packets
  1646. 1:12:00to a service provider
  1647. 1:12:02second for routes outside the routing
  1648. 1:12:05domain
  1649. 1:12:06and not learned by dynamic routing
  1650. 1:12:08protocol
  1651. 1:12:10next is when the network administrator
  1652. 1:12:13wants to explicitly define the path
  1653. 1:12:16for a specific network we use static
  1654. 1:12:19and for routing between stop network we
  1655. 1:12:22use static
  1656. 1:12:24so static routes are useful for smaller
  1657. 1:12:26networks with only one path
  1658. 1:12:29to an outside network they also provide
  1659. 1:12:32security
  1660. 1:12:32in larger network for certain types of
  1661. 1:12:34traffic
  1662. 1:12:36or links to other networks
  1663. 1:12:40that need more control
  1664. 1:12:44now for dynamic routing dynamic routing
  1665. 1:12:47protocols
  1666. 1:12:48help the network administrator manage
  1667. 1:12:50the time consuming and exactly
  1668. 1:12:52or extracting process of configuring and
  1669. 1:12:55maintaining static routes
  1670. 1:12:58okay so dynamic routing protocols are
  1671. 1:13:01implemented
  1672. 1:13:02in any type of network consisting of
  1673. 1:13:07more than one just more than just a few
  1674. 1:13:10routers
  1675. 1:13:11okay so dynamic routing protocols are
  1676. 1:13:14scalable
  1677. 1:13:15and automatically determine better
  1678. 1:13:17routes
  1679. 1:13:18if there is a change in the topology
  1680. 1:13:21so dynamic routing protocols are
  1681. 1:13:23commonly used in the following scenarios
  1682. 1:13:25so in networks
  1683. 1:13:26consisting of more than
  1684. 1:13:30few routers when a change in the network
  1685. 1:13:33topology requires the network to
  1686. 1:13:35automatically determines another path
  1687. 1:13:37then dynamic routing protocol is a good
  1688. 1:13:40choice
  1689. 1:13:41and for scalability as the network grows
  1690. 1:13:45the dynamic routing protocol
  1691. 1:13:46automatically learns
  1692. 1:13:48about new networks
  1693. 1:13:52okay now the table here shows a
  1694. 1:13:55comparison of some of the differences
  1695. 1:13:57between dynamic and static routing
  1696. 1:14:00okay so dynamic routing would be
  1697. 1:14:04good for an enterprise network
  1698. 1:14:08so automatically adapts to topological
  1699. 1:14:10changes
  1700. 1:14:12scalability will suitable for simple to
  1701. 1:14:14complex network topologies
  1702. 1:14:16security must be configured when you use
  1703. 1:14:18dynamic routing protocol
  1704. 1:14:21resource utilization well
  1705. 1:14:24when it comes to research utilization
  1706. 1:14:26dynamic is high
  1707. 1:14:29past predictability well that's the
  1708. 1:14:31advantage of dynamic routing protocol
  1709. 1:14:34okay now for static so
  1710. 1:14:37the complexity of the configuration
  1711. 1:14:39increases as the network size increases
  1712. 1:14:43so for topological changes the
  1713. 1:14:46administrator needs to manually
  1714. 1:14:48configure
  1715. 1:14:48or there should be a manual intervention
  1716. 1:14:51needed
  1717. 1:14:54scalability well static is suitable for
  1718. 1:14:57small networks
  1719. 1:14:58security is inherent all right
  1720. 1:15:02so no additional resources are needed
  1721. 1:15:05and explicitly defined by the
  1722. 1:15:07administrator for pro
  1723. 1:15:08pass predictability so it is recommended
  1724. 1:15:13that we have to use or we use dynamic
  1725. 1:15:16routing along with static
  1726. 1:15:18routing and vice versa
  1727. 1:15:23all right so let us cover here a dynamic
  1728. 1:15:27routing evolution okay
  1729. 1:15:30so dynamic routing protocols have been
  1730. 1:15:33used in the networks
  1731. 1:15:34since the late 1980s okay one of the
  1732. 1:15:38first routing protocol was
  1733. 1:15:39rip rip version 1 was released in 1988
  1734. 1:15:44but some of the basic algorithms within
  1735. 1:15:46the protocol were used in advanced
  1736. 1:15:48research
  1737. 1:15:49project agency network or arpanet in
  1738. 1:15:53early 1969 okay
  1739. 1:15:56now as the networks evolved and become
  1740. 1:15:59more complex
  1741. 1:16:00new routing protocols emerged the rip
  1742. 1:16:03protocol
  1743. 1:16:04was updated to reap version 2 to
  1744. 1:16:06accommodate growth in the network
  1745. 1:16:08environment
  1746. 1:16:10so however okay
  1747. 1:16:14however this network needs to be
  1748. 1:16:17upgraded okay and we have the increase
  1749. 1:16:20in terms of
  1750. 1:16:21users and the number of workstations on
  1751. 1:16:24the network
  1752. 1:16:26okay so rip version two still has
  1753. 1:16:29not scaled to the larger network
  1754. 1:16:32implementations
  1755. 1:16:33of today so to address the needs of
  1756. 1:16:36larger networks
  1757. 1:16:38two advanced routing protocols were
  1758. 1:16:40developed
  1759. 1:16:41you've got the ospf and the intermediate
  1760. 1:16:44system
  1761. 1:16:44to intermediate system or isis
  1762. 1:16:48okay and then cisco developed the
  1763. 1:16:51interior gateway erratic protocols or
  1764. 1:16:53igrp
  1765. 1:16:55which was then replaced by enhanced
  1766. 1:16:58igrp or we call it eigrp okay
  1767. 1:17:02so which also scales well in a large
  1768. 1:17:04network implementations
  1769. 1:17:07so additionally there was the need to
  1770. 1:17:09connect
  1771. 1:17:10the different routing domains of
  1772. 1:17:12different organizations
  1773. 1:17:14and provide routing information between
  1774. 1:17:16them
  1775. 1:17:17so the border gateway or bgp
  1776. 1:17:20was established okay so
  1777. 1:17:24the bgp the successor of the exterior
  1778. 1:17:28gateway protocol or egp
  1779. 1:17:30is used between the isps okay
  1780. 1:17:33or internet service providers so bgp is
  1781. 1:17:37also known as
  1782. 1:17:39the exterior gateway protocol
  1783. 1:17:42or egp okay when say bgp
  1784. 1:17:46is either ebgp and ibgp where in
  1785. 1:17:50bgp is popularly known as ebgp
  1786. 1:17:54okay and we have now
  1787. 1:17:59ospf version 3 and 1999
  1788. 1:18:02okay and then 2 000 onwards in 2008
  1789. 1:18:05you've got isis
  1790. 1:18:06version 6.
  1791. 1:18:10okay next the table classifies
  1792. 1:18:14the current routing protocols interior
  1793. 1:18:17gateway protocols or igps
  1794. 1:18:19these are routing protocols used to
  1795. 1:18:20exchange routing information within the
  1796. 1:18:22routing domain
  1797. 1:18:24administered by a single organization
  1798. 1:18:27so there's only one egp and that
  1799. 1:18:30is bgp okay
  1800. 1:18:33so bgp is used to exchange routing
  1801. 1:18:35information between different
  1802. 1:18:37organizations
  1803. 1:18:38known as autonomous systems or aes
  1804. 1:18:41so bgp is used by isps
  1805. 1:18:45to route packets over the internet so
  1806. 1:18:48distance vector
  1807. 1:18:49link state and pass the vector are
  1808. 1:18:52protocols okay so
  1809. 1:18:54under interior gateway protocols
  1810. 1:18:58okay so basically from this table we can
  1811. 1:19:01classify routing protocols are igp
  1812. 1:19:04or as igp and egp interior
  1813. 1:19:08these are used within the organization
  1814. 1:19:10within the control of a single
  1815. 1:19:12administrator
  1816. 1:19:13and egp is basically used okay
  1817. 1:19:17on
  1818. 1:19:20the isps are among isps all right
  1819. 1:19:24so further we can divide routing
  1820. 1:19:26protocols into distance vector
  1821. 1:19:28link state and pass vector so under pass
  1822. 1:19:30vector you only have bgp
  1823. 1:19:32there link state you've got ospf and
  1824. 1:19:35isis
  1825. 1:19:36and then distance vector clip
  1826. 1:19:39okay and eigrp
  1827. 1:19:49okay so next would be dynamic routing
  1828. 1:19:51protocol concepts
  1829. 1:19:53so a routing protocol is a set of
  1830. 1:19:55processes algorithms
  1831. 1:19:57and messages that are used to exchange
  1832. 1:20:00routing information and populate the
  1833. 1:20:01routing table
  1834. 1:20:03with a choice of best path
  1835. 1:20:06so the purpose of dynamic routing
  1836. 1:20:08protocols includes the following
  1837. 1:20:10so discovery of the remote networks
  1838. 1:20:12maintaining an up-to-date routing
  1839. 1:20:14information
  1840. 1:20:15choosing the best path to destination
  1841. 1:20:17networks
  1842. 1:20:18and ability to find new best paths if
  1843. 1:20:21the current path is no longer available
  1844. 1:20:26so the main components of the routing or
  1845. 1:20:29dynamic routing protocols includes the
  1846. 1:20:31following so it has data structures
  1847. 1:20:34okay so routing protocols typically use
  1848. 1:20:37tables or databases for their operations
  1849. 1:20:41this information is kept in a ram you
  1850. 1:20:44also have the routing protocol messages
  1851. 1:20:47routing protocol use various types of
  1852. 1:20:49messages to discover neighbor routers
  1853. 1:20:52exchange routing information and other
  1854. 1:20:54tasks
  1855. 1:20:55to learn and maintain accurate
  1856. 1:20:57information about the network
  1857. 1:21:01so the next one is algorithm an
  1858. 1:21:03algorithm
  1859. 1:21:04an algorithm is a finite list of steps
  1860. 1:21:08used to accomplish a task that was the
  1861. 1:21:10definition in programming right
  1862. 1:21:12so routing protocols use algorithms
  1863. 1:21:16for facilitating routing information
  1864. 1:21:20and for the best path determination
  1865. 1:21:23okay so routing protocols allow routers
  1866. 1:21:26to dynamically share information
  1867. 1:21:28about remote networks and automatically
  1868. 1:21:31offer this information
  1869. 1:21:33to their own routing tables
  1870. 1:21:39okay so in here routing protocols
  1871. 1:21:43allow routers to dynamically share
  1872. 1:21:46information about remote networks and
  1873. 1:21:49automatically
  1874. 1:21:50offer this information to their own
  1875. 1:21:52routing tables
  1876. 1:21:53as shown here okay so routing protocols
  1877. 1:21:57determine the best path or route
  1878. 1:22:00to each network so the route is then
  1879. 1:22:03offered
  1880. 1:22:04to the routing table the route will be
  1881. 1:22:07installed in the routing table if there
  1882. 1:22:09is
  1883. 1:22:09not another routing source with a lower
  1884. 1:22:12ad
  1885. 1:22:14so a primary benefit of a routing or
  1886. 1:22:17dynamic routing protocol is that the
  1887. 1:22:19router exchange
  1888. 1:22:20routing information when there is
  1889. 1:22:22topological changes there's a good thing
  1890. 1:22:24about it
  1891. 1:22:25so this exchange allows routers to
  1892. 1:22:28automatically learn
  1893. 1:22:29about new networks and to find alternate
  1894. 1:22:32paths
  1895. 1:22:33when there is a link failure to your
  1896. 1:22:35current network
  1897. 1:22:39okay how about the best path before best
  1898. 1:22:42part or before a pass
  1899. 1:22:44to a remote network is offered to the
  1900. 1:22:46routing table
  1901. 1:22:47the dynamic routing protocol must
  1902. 1:22:49determine the best path
  1903. 1:22:50to the network so determining the best
  1904. 1:22:53path
  1905. 1:22:54may involve the evolution of multiple
  1906. 1:22:56paths
  1907. 1:22:57to the same destination network and
  1908. 1:22:59selecting the optimum
  1909. 1:23:01or the shortest path to reach that
  1910. 1:23:03network
  1911. 1:23:04so whenever multiple paths to the same
  1912. 1:23:07network exist
  1913. 1:23:09which path uses different exit interface
  1914. 1:23:13on the router
  1915. 1:23:14to reach that network so the best pass
  1916. 1:23:18is selected by routing protocol based on
  1917. 1:23:20the value or metric it uses
  1918. 1:23:22to determine the distance to reach the
  1919. 1:23:25network
  1920. 1:23:26so a metric is a quantity value or
  1921. 1:23:29quantitative value
  1922. 1:23:31used to measure the distance to a given
  1923. 1:23:33network
  1924. 1:23:35so the network okay or the path
  1925. 1:23:38or best path to the network is the path
  1926. 1:23:41with the lowest
  1927. 1:23:42metric okay so dynamic routing protocols
  1928. 1:23:46typically use their own rules
  1929. 1:23:48and metrics to build and update routing
  1930. 1:23:51tables
  1931. 1:23:53all right so the routing algorithm
  1932. 1:23:56generates a value
  1933. 1:23:57and a metric for its path through the
  1934. 1:24:01network
  1935. 1:24:02so metrics can be based on either
  1936. 1:24:05a single characteristics or several
  1937. 1:24:07characteristics of
  1938. 1:24:09a path so some routing protocols can be
  1939. 1:24:12based okay or can
  1940. 1:24:16base route selection on multiple metrics
  1941. 1:24:19so combining them into a single metric
  1942. 1:24:22okay
  1943. 1:24:23so the following table lists the common
  1944. 1:24:26dynamic routing protocols and their
  1945. 1:24:28metrics
  1946. 1:24:30so basically rip or the routing
  1947. 1:24:32information protocol
  1948. 1:24:34their metric is based on the hub counts
  1949. 1:24:38and the maximum of 15 healths
  1950. 1:24:42okay allowed next
  1951. 1:24:45you've got ospf the metric is
  1952. 1:24:49based on the cost okay so faster links
  1953. 1:24:52are assigned lower costs
  1954. 1:24:56and then the eigrp it calculates a magic
  1955. 1:25:00based on the slowest bandwidth and delay
  1956. 1:25:03values
  1957. 1:25:04okay it could also include load
  1958. 1:25:08and reliability into the metric
  1959. 1:25:11calculations
  1960. 1:25:14so we will be discussing this as we
  1961. 1:25:15progresses with this
  1962. 1:25:18uh course
  1963. 1:25:22all right so the animation in the figure
  1964. 1:25:25highlights how the path
  1965. 1:25:26may be different depending on the magic
  1966. 1:25:29being used
  1967. 1:25:30so if the path fails the dynamic routing
  1968. 1:25:34protocol
  1969. 1:25:35will automatically select a new path
  1970. 1:25:38if one exists all right
  1971. 1:25:54okay so that's how it works
  1972. 1:25:58next is load balancing what is load
  1973. 1:26:00balancing
  1974. 1:26:02what happens if a routing table has two
  1975. 1:26:05or more paths
  1976. 1:26:06with identical metrics to the same
  1977. 1:26:08destination network
  1978. 1:26:10okay so when a router has two or more
  1979. 1:26:13paths
  1980. 1:26:14to a destination with equal cost metrics
  1981. 1:26:17then the router forwards the packet
  1982. 1:26:19using both
  1983. 1:26:21paths equally so this is called equal
  1984. 1:26:24cost load balancing so the routing table
  1985. 1:26:27contains the single destination network
  1986. 1:26:30but has multiple exit interfaces
  1987. 1:26:33one of each equal cost path
  1988. 1:26:37so the router forwards packet using
  1989. 1:26:39multiple exit interfaces
  1990. 1:26:41listed in the routing table so if
  1991. 1:26:44configured correctly
  1992. 1:26:46load balancing can increase the
  1993. 1:26:48effectiveness and performance
  1994. 1:26:50of the network so equal cost load
  1995. 1:26:53balancing is implemented
  1996. 1:26:55automatically by dynamic routing
  1997. 1:26:57protocols
  1998. 1:27:01so it is enabled with static routes
  1999. 1:27:06when there are multiple static routes to
  2000. 1:27:09the same destination network
  2001. 1:27:10using the different nexup routes
  2002. 1:27:14so only eigrp supports an equal cost
  2003. 1:27:17load balancing
  2004. 1:27:25okay so take a look at this so our
  2005. 1:27:28packet traverses
  2006. 1:27:30going to the destination or same
  2007. 1:27:32destination
  2008. 1:27:33using different paths here some goes on
  2009. 1:27:3752 mbps
  2010. 1:27:38top right so that's the first one and
  2011. 1:27:41some also uses the 52 mbps connections
  2012. 1:27:44between r2 and
  2013. 1:27:46r3 okay so this is what you call
  2014. 1:27:50load balancing okay so
  2015. 1:27:53the the device or routers uses all the
  2016. 1:27:57available paths
  2017. 1:27:58to get into the destination
  2018. 1:28:01right so
  2019. 1:28:04that's the end of the video lecture
  2020. 1:28:06thanks for watching and listening have a
  2021. 1:28:08great day

About this transcript

This page contains the full transcript of SRWE M14 Routing Concepts by Santelmo, generated from the public captions YouTube serves with the video. The transcript has 10,301 words across 2,021 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 translate the transcript into 100+ languages.

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, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.