YouTube2Text

SRWE M15 IP Static Routing — Transcript

by Santelmo · 7,671 words · 1,523 segments · language en · Watch on YouTube

Full transcript

  1. 0:16Hi. Hello there.
  2. 0:17Welcome to IP static routing.
  3. 0:20There are so many different ways to
  4. 0:22dynamically route a packet that you
  5. 0:24might wonder why anybody would take time
  6. 0:27to manually configure static route.
  7. 0:30It is kind of like hand washing all your
  8. 0:32clothes when you have perfectly good
  9. 0:34washing machine.
  10. 0:36But, you know that some clothing items
  11. 0:38cannot go in the washing machine.
  12. 0:40Some items benefit from being washed by
  13. 0:42hand.
  14. 0:44There is a similarity in networking.
  15. 0:47As it turns out, there are many
  16. 0:49situations where a manually configured
  17. 0:51static route is your best option.
  18. 0:54There are different kinds of static
  19. 0:56routes and each is perfect for solving
  20. 0:59or avoiding a specific type of network
  21. 1:01problem.
  22. 1:03So, many networks use both dynamic and
  23. 1:06static routing.
  24. 1:07So, network administrators need to know
  25. 1:10how to configure, verify, and
  26. 1:13troubleshoot static routes.
  27. 1:16You are taking this course because you
  28. 1:18want to become a network administrator.
  29. 1:20Or maybe you want to improve your
  30. 1:22existing network administrator skills.
  31. 1:26So, you will be glad you took this
  32. 1:28module
  33. 1:29because you will use these skills
  34. 1:31frequently.
  35. 1:33And because this module is about
  36. 1:34configuring static routes, there will be
  37. 1:37a demo video associated with this.
  38. 1:43Now, the module title is IP static
  39. 1:45routing.
  40. 1:47And at the end of this module or video
  41. 1:49lecture, you should be able to configure
  42. 1:51IPv4 and IPv6 static routes.
  43. 1:55Also, part of this video lecture
  44. 1:59are discussions on static routes.
  45. 2:02Configure IP static routes,
  46. 2:04configure IP default static routes,
  47. 2:07configure floating static routes, and
  48. 2:09configure static host routes.
  49. 2:13This video lecture is associated with a
  50. 2:15video demo on how to configure IP static
  51. 2:18route.
  52. 2:24Okay. So, let's begin with the first
  53. 2:26section,
  54. 2:27static routes.
  55. 2:30Okay? So, types of static routes.
  56. 2:34So, static routes are commonly
  57. 2:35implemented on network.
  58. 2:38This is true even when there is a
  59. 2:40dynamic routing protocol configured. For
  60. 2:43instance, an organization could
  61. 2:45configure a default static route
  62. 2:47to the service provider and advertise
  63. 2:49this route to other corporate routers
  64. 2:52using the dynamic routing protocols.
  65. 2:55So, static routes can be configured for
  66. 2:57IPv4 and IPv6.
  67. 3:01Okay, so both protocols supports the
  68. 3:03following types of static routes. So,
  69. 3:06you've got a standard static route,
  70. 3:08default static route,
  71. 3:10floating static route, and summary
  72. 3:12static route.
  73. 3:14Static routes are configured using the
  74. 3:17IP route command
  75. 3:19and IPv6 route
  76. 3:22global configuration commands.
  77. 3:26Okay, so the next one would be the next
  78. 3:28hop options.
  79. 3:30So, when configuring a static route, the
  80. 3:32next hop can be identified by an IP
  81. 3:35address, exit interface, or both.
  82. 3:39So, how the destination is specified
  83. 3:41creates one of the three of the
  84. 3:42following types of static route.
  85. 3:44So, the first one would be your first or
  86. 3:47the next hop route. Okay?
  87. 3:50Only the next hop IP address is
  88. 3:52specified.
  89. 3:54You also have the directly connected
  90. 3:56static routes.
  91. 3:57So, only the router exit interface is
  92. 4:00specified.
  93. 4:02And then the third one is the fully
  94. 4:04specified static route.
  95. 4:06So, the next hop IP address and exit
  96. 4:08interface are specified.
  97. 4:15Okay? So, the IPv4 static route command.
  98. 4:19So, IPv4 static routes are configured
  99. 4:22using the following global configuration
  100. 4:24command. So, this is the syntax whenever
  101. 4:27you want to configure a static routing
  102. 4:29on your router.
  103. 4:31Okay? So, that would be on the global
  104. 4:33config, you have to type in IP route
  105. 4:37followed by the network address. Okay?
  106. 4:40Subnet mask,
  107. 4:42IP address,
  108. 4:44exit interface IP address,
  109. 4:47and the optional distance. So, either
  110. 4:50the IP address or the exit interface or
  111. 4:53the IP address and the exit interface
  112. 4:55parameters must be configured.
  113. 4:59All right? Now, what are these
  114. 5:01parameters that we have here?
  115. 5:03So, again, the syntax would be IP route.
  116. 5:06So, what is this network address?
  117. 5:08The network address identifies the
  118. 5:10destination IPv4 network address of the
  119. 5:14remote network to add to the routing
  120. 5:16table.
  121. 5:18So, the next one would be the subnet
  122. 5:20mask.
  123. 5:21So, it identifies the subnet mask of the
  124. 5:23remote network.
  125. 5:25So, the subnet mask can be modified to
  126. 5:28summarize a group of networks and create
  127. 5:31a summary static route.
  128. 5:34So, the next one would be an IP address.
  129. 5:37It identifies the next hop router IPv4
  130. 5:40address. So, typically used with
  131. 5:43broadcast networks like the Ethernet.
  132. 5:46Okay? It could also create a recursive
  133. 5:49static route when the router performs an
  134. 5:51additional lookup to find the exit
  135. 5:53interface.
  136. 5:55Next would be
  137. 5:57the exit interface.
  138. 5:59Okay? So, it identifies the exit
  139. 6:01interface to forward packets. So, it
  140. 6:04creates a
  141. 6:05directly connected static route,
  142. 6:07typically used in a point-to-point
  143. 6:09configuration.
  144. 6:11Okay?
  145. 6:12So, next would be the exit interface IP
  146. 6:16address.
  147. 6:17It creates a fully specified static
  148. 6:20route because it specifies the exit
  149. 6:22interface and the next hop IPV4 address.
  150. 6:27Now, distance here is optional command
  151. 6:29that can be used to assign an
  152. 6:31administrative distance value from 1 to
  153. 6:33255.
  154. 6:34So, typically used to configure a
  155. 6:37floating static route
  156. 6:38by setting an administrative distance
  157. 6:41that is higher than a dynamically
  158. 6:42learned route.
  159. 6:44Okay? So, now that you know the syntax
  160. 6:47on how to use
  161. 6:49IP route, now you can go ahead and
  162. 6:51configure it.
  163. 6:53Okay? Give it a try on the Packet
  164. 6:55Tracer.
  165. 6:59Now, on the IPV6 static route command,
  166. 7:01so this would be the syntax. So, it's
  167. 7:03almost the same.
  168. 7:04All right? So, the syntax would be IPV6
  169. 7:08route. Okay? IPV6 prefix or the prefix
  170. 7:12length.
  171. 7:13IPV6 address, exit interface or the IPV6
  172. 7:17address and the distance.
  173. 7:20Okay?
  174. 7:20Now, similar with IPV4,
  175. 7:23so let's start with
  176. 7:26the IPV6 prefix or the prefix length.
  177. 7:29Okay? So, for the IPV6 prefix, it
  178. 7:32identifies the destination IPV6 network
  179. 7:35address of the remote network to add to
  180. 7:38the routing table.
  181. 7:40Now, the prefix length, it identifies
  182. 7:43the prefix length of the remote network.
  183. 7:47Next would be IPv6 address. It
  184. 7:50identifies the next hop router IPv6
  185. 7:53address.
  186. 7:54So, this is typically used when
  187. 7:56broadcast networks like the Ethernet.
  188. 7:59So, could create a recursive static
  189. 8:02route where the router performs an
  190. 8:04additional lookup to find exit
  191. 8:06interface, similar with that of the
  192. 8:08IPv4.
  193. 8:11You also have the exit interface here.
  194. 8:13It identifies the exit interface to
  195. 8:15forward packets.
  196. 8:17And it creates a directly connected
  197. 8:19static route.
  198. 8:20So, typically
  199. 8:22this is used in a point-to-point
  200. 8:24configuration.
  201. 8:26All right?
  202. 8:27So, you also have the exit interface,
  203. 8:31okay, IPv6 address.
  204. 8:33It creates a fully specified static
  205. 8:36route because it is specifies the exit
  206. 8:39interface and the next hop IPv6 address.
  207. 8:44Now, you also have distance on IPv6.
  208. 8:48Okay, so this is also optional command
  209. 8:50that can be used to assign an
  210. 8:51administrative distance value
  211. 8:54from 1 to 255.
  212. 8:56So, typically
  213. 8:57this is used to configure a floating
  214. 8:59static route
  215. 9:01by setting an administrative distance
  216. 9:03that is higher than the dynamically
  217. 9:05learned route.
  218. 9:07Okay? So, take note that the IPv6
  219. 9:11unicast routing global configuration
  220. 9:13command must be configured
  221. 9:16to enable the router to forward IPv6
  222. 9:19packet.
  223. 9:22All right? So, most of the parameters
  224. 9:24are identical with that of IPv4.
  225. 9:26It's just that you have to include a V6,
  226. 9:29okay, on the IPv6 route command
  227. 9:33versus that of IPv4, which is simply an
  228. 9:36IP route command.
  229. 9:44All right. So, we will be using this
  230. 9:47even on my demonstration. Okay, so this
  231. 9:49topology is what you call a dual stack
  232. 9:52topology.
  233. 9:53So, this figure shows a dual stack
  234. 9:56network topology. So, currently no
  235. 9:58static routes are configured for either
  236. 10:01IPv4 or IPv6.
  237. 10:04Okay? So, this is the same topology that
  238. 10:06I'm going to use on demonstrating how to
  239. 10:10configure IP static routing.
  240. 10:13All right. So, you've got here three
  241. 10:15router configurations.
  242. 10:17You've got a combinations of IPv4 and
  243. 10:19IPv6 addressing.
  244. 10:21Also, please see the video demonstration
  245. 10:25about how to configure the IP static
  246. 10:28routing.
  247. 10:32Okay. So, IPv4 starting routing tables.
  248. 10:38So, each router has entry only for
  249. 10:41directly connected networks and
  250. 10:44associated local addresses.
  251. 10:47Okay? So,
  252. 10:49R1 can ping R2. Okay, on this
  253. 10:52demonstration. Now, going back to our
  254. 10:54topology,
  255. 10:55all right. So, this is the topology that
  256. 10:58we're going to use on the demonstration.
  257. 11:01Now, for the sake of
  258. 11:03video lecture, okay, so assuming that
  259. 11:06this has been configured completely with
  260. 11:08IP static routing, okay? And we are
  261. 11:11about to ping, okay, so from R1
  262. 11:16to R2,
  263. 11:17which are directly connected to each
  264. 11:19other.
  265. 11:20Okay? So, none of the routers have
  266. 11:23knowledge of any networks beyond the
  267. 11:25directly connected interfaces. So, this
  268. 11:28means each router
  269. 11:30can only reach directly connected
  270. 11:32networks.
  271. 11:34So, as demonstrated in the following
  272. 11:36ping tests,
  273. 11:37a ping from R1
  274. 11:39to the serial interface serial 010 of R2
  275. 11:44should be successful.
  276. 11:47Okay?
  277. 11:48So, that would be
  278. 11:50because it is a directly connected
  279. 11:52networks.
  280. 11:55All right? So, again, going back to the
  281. 11:57topology,
  282. 11:58on R1, we are pinging 172.16.2.2.
  283. 12:03And 172.16.
  284. 12:052.2
  285. 12:08is this interface here.
  286. 12:11Okay? So, which is the interface of R2
  287. 12:14pinging from PC1.
  288. 12:17Okay? So, we can ping that because that
  289. 12:20is directly connected
  290. 12:22on R1.
  291. 12:23But,
  292. 12:24a ping on three,
  293. 12:27okay? Or a ping on router three LAN
  294. 12:31is not possible.
  295. 12:32Okay? So, from the topology,
  296. 12:35192.168.2.1,
  297. 12:38okay? Is the LAN of R3 here. And pinging
  298. 12:41from PC1
  299. 12:43would lead to
  300. 12:44request timeout.
  301. 12:47All right? So, because
  302. 12:49router one is not aware about R3.
  303. 12:53Okay? So, that is because we have not
  304. 12:55configured yet
  305. 12:57the routing protocol.
  306. 13:00Okay?
  307. 13:06Next,
  308. 13:08how about R2 IPv4 routing table? Now,
  309. 13:12looking at the R2 IPv4 routing table, if
  310. 13:15you will observe here,
  311. 13:17all it displays
  312. 13:18are the directly connected networks. So,
  313. 13:21C here indicates directly connected
  314. 13:23networks.
  315. 13:25Whereas L,
  316. 13:26this are the IP address configured on
  317. 13:29the specific interface.
  318. 13:31Now evaluating the routing table, okay?
  319. 13:35So, we can see that on R2, okay? Going
  320. 13:40back on R2,
  321. 13:41on R2,
  322. 13:43we can see
  323. 13:45three directly connected networks. So,
  324. 13:47these are 172.16.2.0,
  325. 13:51192.168.1.0,
  326. 13:53and 172.16.1.0
  327. 13:56here.
  328. 13:57So, if you try to look at the
  329. 14:02routing table, okay? So, for R2, it
  330. 14:05shows three Cs here.
  331. 14:07Right? So, 172.16.1.0,
  332. 14:112.0, and 192.168.1.0.
  333. 14:15So, all of it are directly connected to
  334. 14:18R2.
  335. 14:21All right?
  336. 14:22Now also on R3, okay? It only shows or
  337. 14:25displays directly connected networks to
  338. 14:29R3.
  339. 14:30And if you'll observe, you have two
  340. 14:33directly connected networks to it. And
  341. 14:35these are 192.168.1.0
  342. 14:38and 192.168.
  343. 14:402.0. Now referring that to the topology,
  344. 14:44okay? So, it's in here.
  345. 14:45R3,
  346. 14:46you've got directly connected networks,
  347. 14:48192.168.1.0,
  348. 14:51and 192.168.2.0
  349. 14:53here.
  350. 14:54Okay? So, initially, after the
  351. 14:57configurations
  352. 14:58of the IP addresses on the interfaces
  353. 15:01and without the IP static routing,
  354. 15:05okay? So, we can only see the directly
  355. 15:08connected networks on the routing table.
  356. 15:12All right?
  357. 15:15Okay.
  358. 15:16So, each router
  359. 15:19has an entries only for directly
  360. 15:21connected networks and associated local
  361. 15:24addresses. So that's denoted by
  362. 15:27L. Now, same thing with IPv4. Now this
  363. 15:30time this has been configured with IPv6
  364. 15:32IP addresses.
  365. 15:34Okay? So as usual, R1 can ping R2.
  366. 15:39Okay, because they are directly
  367. 15:40connected, but R1 cannot ping the R3
  368. 15:43LAN.
  369. 15:44Okay? So pinging R1 or pinging R3 from
  370. 15:49the R1 is not possible. That is because
  371. 15:52R1 does not have an entry in its routing
  372. 15:54table for that network.
  373. 15:58All right? So again, this will be shown
  374. 16:00on the demonstration associated with
  375. 16:02this video lecture.
  376. 16:06Next, you also have the R2 IPv6 routing
  377. 16:09table. Again, if you will observe, same
  378. 16:11thing. We have three directly connected
  379. 16:14networks and no remote networks yet
  380. 16:17defined on the routing table.
  381. 16:19So it's impossible
  382. 16:21for R2 directly connected devices to
  383. 16:24reach any of the remote network directly
  384. 16:26connected devices.
  385. 16:28Okay? On the other routers.
  386. 16:32Okay? Now this is the router three IPv6
  387. 16:36routing table. Again, you'll see here
  388. 16:38directly connected networks. Okay? So
  389. 16:41that is 2001 DB8 cafe one and cafe two.
  390. 16:49Okay.
  391. 16:51Now that we're done with the basics of
  392. 16:53static or IP static routing, let's go
  393. 16:56ahead and see configuring IP static
  394. 16:59routes on this section.
  395. 17:06Okay, so let's talk about the IPv4 next
  396. 17:09hop static route.
  397. 17:11So the commands to configure the static
  398. 17:14uh these the standard static routes they
  399. 17:16slightly between IPv4 and IPv6. So, this
  400. 17:19topic shows how to configure the
  401. 17:21standard next-hop, directly connected,
  402. 17:24and the fully specified static routes
  403. 17:27for both IPv4 and IPv6.
  404. 17:30Okay?
  405. 17:31Now, in a next-hop static route,
  406. 17:34only the next-hop IP address is is
  407. 17:36specified.
  408. 17:37The exit interface is derived from the
  409. 17:40next hop. For example,
  410. 17:43three next-hop IPv4 static routes are
  411. 17:45configured on R1 using the IP address of
  412. 17:49the next hop of R2.
  413. 17:51Okay?
  414. 17:52Now, referring to the topology that we
  415. 17:54have earlier,
  416. 17:56okay? So, if I am on R1,
  417. 17:59the first thing that you need to do is
  418. 18:00to identify the directly connected
  419. 18:02networks to R1.
  420. 18:04Okay? And from here,
  421. 18:06the directly connected networks from R1
  422. 18:08would be the 3.0 here and the 2.0 of
  423. 18:12172.16.
  424. 18:15Okay? So, identifying the directly
  425. 18:17connected networks will leave
  426. 18:19172.16.1.0,
  427. 18:22192.168.1.0,
  428. 18:24and 192.168.2.0
  429. 18:26be the remote networks.
  430. 18:28Now, in configuring the IP static
  431. 18:30routing, we care only about the remote
  432. 18:33networks.
  433. 18:34So, when we define it,
  434. 18:36we defined the remote networks. So, if
  435. 18:39you will observe on this uh
  436. 18:41configuration here for R1,
  437. 18:44the remote networks would be 172.16.1.0.
  438. 18:48Okay? So, which is this network here.
  439. 18:52All right?
  440. 18:53So, to define it, so it should be IP
  441. 18:56route 172.16.1.0.
  442. 19:01That's /24, so that would that would be
  443. 19:02255.255.255.0.
  444. 19:06Now, the next one would be the
  445. 19:09next-hop IP address.
  446. 19:11So, if I am from Let me change my
  447. 19:13pointer here.
  448. 19:15So, if I am from
  449. 19:18R1, okay, this is me.
  450. 19:21The next hop IP address to reach the
  451. 19:23remote network is this.
  452. 19:27All right? And that is 172.16.2.2.
  453. 19:31That's why you'll have it here.
  454. 19:33All right? So, to reach 172.16.1.0,
  455. 19:38192.168.1.0,
  456. 19:40and 192.168.2.0,
  457. 19:42you need to pass through 172
  458. 19:45172.16.2.2
  459. 19:47as the next hop IP address. So, all of
  460. 19:50this here
  461. 19:52would be the next hop IP address of the
  462. 19:55remote networks.
  463. 19:56So, that is why on the configuration,
  464. 19:59you're going to have here IP route
  465. 20:00172.16.1.0,
  466. 20:03subnet mask, which is 255.255.255.0,
  467. 20:07and you're going to have here the exit
  468. 20:09interface.
  469. 20:11All right? So, same thing with the
  470. 20:12second remote network, which is
  471. 20:15IP route 192.168.1.0.
  472. 20:19So, you've got 255.255.255.0
  473. 20:23via 172.16.2.2.
  474. 20:27So, the third remote network is
  475. 20:30192.168.2.0
  476. 20:33here.
  477. 20:34So, defining it on R1, that would be IP
  478. 20:37route 192.168.2.0
  479. 20:40255.255.255.0
  480. 20:46via the next hop IP address, which is
  481. 20:49172.16.2.2.
  482. 20:53All right?
  483. 20:55Now, after the configuration, so you
  484. 20:57might want to check the entry
  485. 21:00Okay, or the routing table entries on
  486. 21:02R1. And that would be possible via show
  487. 21:05IP route.
  488. 21:06Okay, or you can have the option or the
  489. 21:08more specific show IP route pipeline
  490. 21:11begin gateway. So, that means that would
  491. 21:13start
  492. 21:15with the word gateway here.
  493. 21:18Now, from the routing table,
  494. 21:20we could see that
  495. 21:23the remote networks that we have defined
  496. 21:25here
  497. 21:27is denoted by S on the routing table.
  498. 21:30All right? So, you've got 1.0,
  499. 21:33192.168.1.0
  500. 21:35and 192.168.2.0.
  501. 21:37These three here
  502. 21:39are the remote networks that we defined
  503. 21:41on the configuration using IP route.
  504. 21:45All right? So, aside from the directly
  505. 21:47connected networks,
  506. 21:50which is automatically detected by R1,
  507. 21:53since we already have defined the remote
  508. 21:55networks using IP route, so we can see
  509. 21:58here all the remote networks and the
  510. 22:00directly connected networks to R1.
  511. 22:05All right?
  512. 22:12Okay. So, how about the IPv6 next hop
  513. 22:15static route?
  514. 22:17So, it works the same with that of IPv4.
  515. 22:20Okay? So, again, considering this uh
  516. 22:22topology here.
  517. 22:24So, the commands to configure R1 with
  518. 22:26the IPv6 static routes to the three
  519. 22:29remote networks are as follows. So,
  520. 22:31again, we have to identify, so we are
  521. 22:33from R1.
  522. 22:35This is where we're going to configure
  523. 22:37the IP route.
  524. 22:38We first need to identify the remote
  525. 22:40networks. And the remote networks would
  526. 22:42be This is your first remote network,
  527. 22:45your second remote network, and your
  528. 22:48third remote network.
  529. 22:51All right? So, when we define it,
  530. 22:54so in IPv6, we have to use
  531. 22:57IPv6 unicast routing.
  532. 23:00So, every time you configure a router
  533. 23:02for IPv6, so you need to start or
  534. 23:05initialize IPv6 unicast routing.
  535. 23:08Don't forget this, otherwise you won't
  536. 23:10be able to configure any IPv6
  537. 23:13configuration commands on a router.
  538. 23:17Okay? So, we need to start or to begin
  539. 23:19with IPv6 unicast routing. So,
  540. 23:22afterwards, we can now do the routing.
  541. 23:25Now, assuming that we have already
  542. 23:27configured
  543. 23:28all the IP addresses on each of the
  544. 23:30interfaces with IPv6, we can now proceed
  545. 23:34with routing.
  546. 23:36All right. So, the syntax, which was
  547. 23:39shown earlier, would be IPv6
  548. 23:41All right, and then route.
  549. 23:43This is your remote network, which is
  550. 23:472001 DB8 acad 1/64.
  551. 23:53Okay?
  552. 23:54So,
  553. 24:00This is on R1, right? Okay. So, this is
  554. 24:03the first remote network, and still this
  555. 24:05is our
  556. 24:07exit interface.
  557. 24:09Okay, so therefore, from R1, to reach
  558. 24:13172.16.1.0/24,
  559. 24:16we need to pass through 2001
  560. 24:19DB8 acad 2
  561. 24:232.
  562. 24:24All right. So, this would be our
  563. 24:27exit interface. If you will observe,
  564. 24:29that is common to all the remote
  565. 24:31networks.
  566. 24:33Okay, so we need to pass through this to
  567. 24:35reach remote networks 1, 2, and 3.
  568. 24:40Okay? Now, let us define the second
  569. 24:42network. So, that would be IPv6 route
  570. 24:442001 DB8 cafe:1:64
  571. 24:50via 2001 DB8 acad 2.
  572. 24:55All All that 2.
  573. 24:58And then, let us define also the last
  574. 25:00one, which is the third remote network
  575. 25:02from R1.
  576. 25:03So, that would be IPv6 route
  577. 25:052001:db8:cafe:2
  578. 25:08Okay, colon colon {slash} 64
  579. 25:11traversing via 2001:db8:acad:2
  580. 25:15colon colon 2.
  581. 25:17Okay? So, after defining this route so,
  582. 25:20you might want to visit the routing
  583. 25:22table. So, the command would be show
  584. 25:24IPv6 routes. And if you will observe
  585. 25:27here
  586. 25:28we already have seen
  587. 25:30the three remote networks we just
  588. 25:33recently defined using the IPv6 route
  589. 25:35command.
  590. 25:37All right?
  591. 25:45Okay, so next would be the IPv4 directly
  592. 25:48connected static route.
  593. 25:51Okay?
  594. 25:52So when configuring a static route,
  595. 25:55another option is to use the exit
  596. 25:57interface to specify the next hop
  597. 26:00address.
  598. 26:01So, the figure shows the topology again
  599. 26:03that we use on the demonstration.
  600. 26:06All right? So, the IPv4 routing table
  601. 26:10for R1 shows that when a packet is
  602. 26:13destined for 192.168.2.0
  603. 26:16network, which is denoted by S here
  604. 26:19right, so this means this is a remote
  605. 26:21network.
  606. 26:22Okay? So, R1 looks for a match in the
  607. 26:25routing table.
  608. 26:27And finds that it can forward a packet
  609. 26:29out of serial 010 interface. So, take
  610. 26:33note that this is your exit interface
  611. 26:36here.
  612. 26:37Okay?
  613. 26:38Note that using a next hop address is
  614. 26:40generally recommended.
  615. 26:43Okay? What we did earlier
  616. 26:45we used
  617. 26:47the next hop IP address instead of the
  618. 26:49exit interface.
  619. 26:52All right?
  620. 26:53So, take note.
  621. 26:55This is a very important note here. So,
  622. 26:58using the next hop address is generally
  623. 27:00recommended. Directly connected static
  624. 27:03routes should only be used
  625. 27:06with a point-to-point serial interfaces
  626. 27:09as in this example.
  627. 27:10So, take note that we can use exit
  628. 27:12interface here because we only have
  629. 27:15point-to-point connection here.
  630. 27:17Okay?
  631. 27:18Whenever we connected routers using the
  632. 27:20serial interfaces, we could make use of
  633. 27:23the exit interface.
  634. 27:25All right?
  635. 27:26Now, let us evaluate this. This is the
  636. 27:28same configurations that we've made
  637. 27:30using the next hop IP address. The only
  638. 27:32difference is
  639. 27:34with this one, we use the exit
  640. 27:36interface.
  641. 27:39All right? So, how are going to use
  642. 27:41this? Where is the exit interface? Okay?
  643. 27:44If I am referring to R1, for instance,
  644. 27:47we are viewing it in the perspective of
  645. 27:49R1. Okay?
  646. 27:51So,
  647. 27:52192 or 172.16.2.2
  648. 27:55here would be our next hop IP address.
  649. 27:58And when you say exit interface, we are
  650. 28:00pertaining to this.
  651. 28:03All right? So, from the perspective of
  652. 28:06R1,
  653. 28:08we can leave the networks of R1 via
  654. 28:10serial 010 here. So, that is why in
  655. 28:13here, you've got serial 010.
  656. 28:16Now, to reach the remote networks like
  657. 28:18172.16.1.0,
  658. 28:21okay? We need to use
  659. 28:23serial 010 as the exit interface. Same
  660. 28:26thing,
  661. 28:26to reach the remote networks
  662. 28:28192.168.1.0,
  663. 28:30all right? We have to use also the
  664. 28:32serial 010 as the exit interface.
  665. 28:35That also applies to remote networks
  666. 28:38192.168.2.0
  667. 28:41using
  668. 28:42the serial 010 exit interface.
  669. 28:47All right?
  670. 28:48So, again, this is the second method of
  671. 28:51defining
  672. 28:52static IP routing. So, it's either you
  673. 28:54use the next hop IP address or the exit
  674. 28:57interface. But, the use of the exit
  675. 28:59interface is applicable only when you
  676. 29:02are using serial connections between
  677. 29:04these routers. All right? Or when you
  678. 29:06have a point-to-point connection only
  679. 29:09between the two routers.
  680. 29:11All right?
  681. 29:19All right. So, now you might be asking,
  682. 29:21"Is that also applicable on IPv6?"
  683. 29:24Yes.
  684. 29:25Okay? So, the IPv6 routing table for R1,
  685. 29:30okay?
  686. 29:30In the example, okay? Shows that when a
  687. 29:33packet is destined
  688. 29:35for 2001:cafe
  689. 29:382/64,
  690. 29:39so this is the S here. This is what
  691. 29:42we're pertaining to.
  692. 29:44Okay? So, R1 looks for a match in the
  693. 29:47routing table
  694. 29:48and finds that it can forward a packet
  695. 29:51out of the serial 010 here.
  696. 29:55Which is denoted by directly connected,
  697. 29:58this one.
  698. 29:59Okay? So, take note, same with IPv4,
  699. 30:03using the next hop IP address
  700. 30:06is generally recommended.
  701. 30:08Directly connected static routes should
  702. 30:10only be used only when you use the
  703. 30:13point-to-point connection or when you
  704. 30:16use serial interfaces between two
  705. 30:18routers.
  706. 30:20Okay? So, it's the same thing. So, IPv6
  707. 30:22route,
  708. 30:23this is your remote network one, okay?
  709. 30:26And this is our exit interface here.
  710. 30:29So, remote network two,
  711. 30:32all right? And then, the exit interface.
  712. 30:35And then, remote network three,
  713. 30:37and then, the exit interface.
  714. 30:40All right.
  715. 30:45Okay, so the third one would be IPv4
  716. 30:49fully specified static route.
  717. 30:51So, in a fully specified static route,
  718. 30:54both the exit interface and the next hop
  719. 30:57IP address are specified.
  720. 30:59So, this form of a static route is used
  721. 31:02when the exit interface is a
  722. 31:04multi-access interface,
  723. 31:06and it is necessary to explicitly
  724. 31:08identify the next hop.
  725. 31:11So, the next hop must be directly
  726. 31:13connected to the specified exit
  727. 31:14interface.
  728. 31:16So, using an exit interface is optional.
  729. 31:19However, it is necessary to use the next
  730. 31:21hop address.
  731. 31:23All right. So, suppose that the network
  732. 31:25link between R1 and R2 is an Ethernet
  733. 31:28link,
  734. 31:30and that the Gigabit Ethernet 001
  735. 31:32interface of R1 is connected to the
  736. 31:34network as shown in the figure here.
  737. 31:37Okay?
  738. 31:37The difference between an Ethernet
  739. 31:39multi-access network and a
  740. 31:41point-to-point serial network is that a
  741. 31:44point-to-point serial network has only
  742. 31:46one other device on the network.
  743. 31:49Okay, so this is a point-to-point serial
  744. 31:51network here.
  745. 31:52And this one here,
  746. 31:55okay? So, this is the Ethernet link.
  747. 31:58Okay?
  748. 32:00So, with the Ethernet networks, there
  749. 32:02may be different devices sharing the
  750. 32:05same multi-access network, including
  751. 32:07hosts or even multiple routers.
  752. 32:10So, it is recommended that when the exit
  753. 32:13interface is an Ethernet network,
  754. 32:16okay? So, that the static route
  755. 32:19includes a next hop address.
  756. 32:22You can also use a fully specified
  757. 32:24static route that includes both the exit
  758. 32:26interface and the next hop address.
  759. 32:31All right.
  760. 32:36Okay, so in a fully specified IPv6
  761. 32:39route, both the exit interface and the
  762. 32:41next hop IPv6 address are specified.
  763. 32:45Okay? So, there is a situation in IPv6
  764. 32:49when a fully specified static route must
  765. 32:51be used.
  766. 32:52So, if the IPv6 static route uses an
  767. 32:56IPv6 link local address as the next hop
  768. 32:59address, we use a fully specified static
  769. 33:02route.
  770. 33:03Okay? So, the figure shows
  771. 33:06an example of a fully specified IPv6
  772. 33:09static route using an IPv6 link local
  773. 33:11address as the next hop address.
  774. 33:14Now, in the example, a fully specified
  775. 33:16static route is configured using a link
  776. 33:18local address of R2 as the next hop
  777. 33:22address.
  778. 33:23So, notice that the iOS requires an exit
  779. 33:26interface be specified.
  780. 33:29Okay? So, this is how we do it. Okay, so
  781. 33:31IPv6 route,
  782. 33:33right? Same command.
  783. 33:35This is our remote network.
  784. 33:38This would be your exit interface, and
  785. 33:40this would be your next hop IP address.
  786. 33:42So, you specified both the exit
  787. 33:45interface and the next hop IP address.
  788. 33:48This is known as the fully specified
  789. 33:51static route.
  790. 33:53Okay? So, the first one also,
  791. 33:56okay? So, IP route, remote network,
  792. 34:00okay?
  793. 34:01This is your
  794. 34:03uh exit or the next hop IP address.
  795. 34:07Right? So, this is the traditional way
  796. 34:09of doing it.
  797. 34:10But, with a fully specified, this is
  798. 34:12another option.
  799. 34:15Okay?
  800. 34:16Now, going back to the IP before here,
  801. 34:20how is it done? Same thing. So, IP
  802. 34:22route, this would be our remote
  803. 34:25networks, all right? So,
  804. 34:28with R1 being our source or the
  805. 34:30perspective of R1,
  806. 34:32You've got the subnet mask here.
  807. 34:35Okay? Take a look at this. This would be
  808. 34:37your exit interface.
  809. 34:41All right. And
  810. 34:43you have here your
  811. 34:46next hop IP address.
  812. 34:50All right? So, this is a fully specified
  813. 34:54static route.
  814. 35:00Okay. So, the reason a fully specified
  815. 35:03static route must be used is because
  816. 35:05IPv6 link local address are not
  817. 35:08contained in the IPv6 routing table.
  818. 35:11Okay? So, link local addresses are only
  819. 35:14unique on a given link or network.
  820. 35:17So, the next hop link local address may
  821. 35:19be valid address on multiple networks
  822. 35:22connected to the router. So, therefore,
  823. 35:25it is necessary that the exit interface
  824. 35:28be included.
  825. 35:30Okay?
  826. 35:31Now, in here, the following example
  827. 35:33shows the IPv6 routing table entry for
  828. 35:35this route. So, notice that both the
  829. 35:38next hop link local address
  830. 35:41and the exit interface are included.
  831. 35:44Okay? So, this is your next hop address
  832. 35:47and this is your exit interface.
  833. 35:50So, that means to reach
  834. 35:522001:db8:acad:1::/64,
  835. 35:57we can reach it via Okay?
  836. 36:01The next hop IP address here
  837. 36:05and
  838. 36:06the serial 010 here as exit interface.
  839. 36:11All right? So, that's it.
  840. 36:17Next, how do we verify a static route?
  841. 36:20So, along with the show IP route, show
  842. 36:22IPv6 route, Okay? Ping and trace route
  843. 36:27are there command to verify static
  844. 36:29routes also includes show IP route
  845. 36:31static.
  846. 36:33Okay.
  847. 36:34You also have the show IP route network.
  848. 36:37Show running config. Okay.
  849. 36:39Pipeline section IP route.
  850. 36:43Okay. And for IPv6, when we just need to
  851. 36:46replace IP with IPv6.
  852. 36:49Okay. And that would work the same.
  853. 36:57All right. So, verifying a static route.
  854. 37:00So, again, using the topology that we
  855. 37:02have earlier. Okay. So, display only
  856. 37:05IPv4 static route.
  857. 37:07So, this output shows only the IPv4
  858. 37:10static routes in the routing table.
  859. 37:12Also note where the fighter will the
  860. 37:15filter begins the output.
  861. 37:18Okay. Excluding all the codes. So,
  862. 37:21something like show IP route static.
  863. 37:24Okay. Pipeline begin gateway. So, that
  864. 37:25means your output would start with your
  865. 37:28configuration
  866. 37:29gateway.
  867. 37:31All right. And this would be the
  868. 37:33static routes configured.
  869. 37:36All right.
  870. 37:39Next. How about displaying a specific
  871. 37:41IPv4 network? So, you can also do that.
  872. 37:43You can filter the output. Okay. So,
  873. 37:46this command will show output for only
  874. 37:49the specified network in the routing
  875. 37:51table.
  876. 37:52So, you specify the network to be
  877. 37:54192.168.2.1.
  878. 37:57Okay. So, that would be show IP route
  879. 37:59192.168.2.1.
  880. 38:02So, that would display routing entry for
  881. 38:042.0.
  882. 38:06And this is it.
  883. 38:07Okay. So, known via static.
  884. 38:09The administrator administrative
  885. 38:11distance is one. Take note that the AD
  886. 38:14for the static route is one and the
  887. 38:15metric is zero.
  888. 38:18All right.
  889. 38:20Next.
  890. 38:21How about displaying the IP before
  891. 38:23static route configuration?
  892. 38:25Okay, section IP route here.
  893. 38:28So, with this one, this command filters
  894. 38:30the running configuration for only IPV4
  895. 38:33static routes.
  896. 38:35Okay, so show running config pipeline
  897. 38:38section IP route. So,
  898. 38:40all configurations on the show run or on
  899. 38:44the running config having the IP route
  900. 38:47will be displayed.
  901. 38:48Okay, so rather than using just the show
  902. 38:51run which displays everything. So, if
  903. 38:53you just want to see on your screen a
  904. 38:55specific output that you desire, then
  905. 38:58you could make use of this filter
  906. 39:00options here, the pipeline, section,
  907. 39:02begin, and so on.
  908. 39:04All right.
  909. 39:07Next, display only IPV6 static routes.
  910. 39:11So, that would be show IPV6 route
  911. 39:14static. This output shows only the IPV6
  912. 39:17static routes in the routing table.
  913. 39:20Also, note where the filter begins the
  914. 39:22output excluding all the codes.
  915. 39:25All right. So, show IP route static.
  916. 39:31Next, how about displaying a specific
  917. 39:34IPV6 network?
  918. 39:36So, for instance, show IPV6 route 2001
  919. 39:40DB8 cafe colon two colon colon. So, this
  920. 39:45command will show output for only those
  921. 39:47specified network in the routing table.
  922. 39:50Similar with that of IPV4 that we have
  923. 39:52presented earlier.
  924. 39:55Next would be displaying the IPV6 static
  925. 39:57route configuration.
  926. 39:59So, something like section IPV6 route,
  927. 40:01so that would be displayed on your
  928. 40:03screen. So, see, you have a filtered
  929. 40:05output for your show run commands.
  930. 40:14All right, so on this section, configure
  931. 40:17IP default static routes, we will be
  932. 40:19dealing
  933. 40:20how to configure a default static route.
  934. 40:28Okay, so let's talk about default static
  935. 40:30route.
  936. 40:31This topic shows how to configure a
  937. 40:33default route for IPv4 and IPv6.
  938. 40:37So, it also explains the situation in
  939. 40:40which a default route is a good choice.
  940. 40:43So, a default route is a static route
  941. 40:45that matches all packets. So, instead of
  942. 40:48router storing routes for all the
  943. 40:50networks in the internet,
  944. 40:52they can store a single default route
  945. 40:55to represent any network that is not in
  946. 40:58the routing table.
  947. 41:00Okay, so take note that the default
  948. 41:01behavior of a router when it counters a
  949. 41:04packet not on the routing table is to
  950. 41:06drop the packet.
  951. 41:09Now, if you don't want if you don't want
  952. 41:10to do that because you want these
  953. 41:12packets be forwarded
  954. 41:15to a certain destination, then we have
  955. 41:17to use a default route, which is also
  956. 41:20known as the gateway of last resort.
  957. 41:23All right? So, routers commonly use
  958. 41:25default routes that are either
  959. 41:27configured locally
  960. 41:29or learned from other router using
  961. 41:32dynamic routing protocol.
  962. 41:34So, a default route does not require any
  963. 41:37far left bits to match between the
  964. 41:40default route and the destination IP
  965. 41:41address.
  966. 41:42So, the default route is used when no
  967. 41:45other routes in the routing table exist.
  968. 41:49Okay, so that matches the destination IP
  969. 41:51address of the packet. So, in other
  970. 41:53words,
  971. 41:54if more specific match does exist or
  972. 41:57does not exist,
  973. 41:59then the default route is used as the
  974. 42:01gateway of last resort.
  975. 42:04Okay? So, default static routes are
  976. 42:06commonly used when connecting an edge
  977. 42:09router to the service provider network
  978. 42:12or a stop router. So, when you say stop
  979. 42:15router, okay, so this one here is a stop
  980. 42:17router.
  981. 42:19So, a stop router is a router with only
  982. 42:22one upstream neighbor.
  983. 42:24Or neighboring now router. So, which is
  984. 42:28the ISP here.
  985. 42:30Okay? So, the figure shows a typical
  986. 42:33default static route scenario.
  987. 42:35So, R1 only needs to know about directly
  988. 42:39connected networks. For all the networks
  989. 42:42or for all other networks, it can use
  990. 42:44default static route pointing to R2 or
  991. 42:47to the ISP for instance in this case.
  992. 42:53Okay?
  993. 42:54So, let's talk about the syntax. Default
  994. 42:57static route syntax. So, the command
  995. 42:59syntax for IPv4 default static route is
  996. 43:02similar to any other IPv4 static route
  997. 43:05except that the network address
  998. 43:08is at 0.0.0.0.
  999. 43:13And the subnet mask is also 0.0.0.0.
  1000. 43:18Okay? So, the quad zeros here, all
  1001. 43:22right, quad zeros,
  1002. 43:24in the route will match any network
  1003. 43:26address.
  1004. 43:28Okay? So, take note that an IPv4
  1005. 43:31default static route is commonly
  1006. 43:33referred to as quad zero route.
  1007. 43:36All right? So, the basic syntax or the
  1008. 43:40command syntax for an IPv4 default
  1009. 43:42static route is IP route.
  1010. 43:45You have got the quad zero, okay, quad
  1011. 43:48zero,
  1012. 43:49IP address
  1013. 43:51or the next hop IP address or the exit
  1014. 43:54interface.
  1015. 43:57All right? Now, for IPv6, we have the
  1016. 44:00same. So, the command syntax for IPv6
  1017. 44:03default route is is similar to any other
  1018. 44:06IPv6 static route, except that
  1019. 44:09the IPv6 prefix or prefix length is
  1020. 44:15colon colon
  1021. 44:17zero.
  1022. 44:18Which matches all routes. So, the syntax
  1023. 44:21would be IPv6 route colon colon zero.
  1024. 44:25You've got the next hop IP address, IPv6
  1025. 44:27address, or the exit interface.
  1026. 44:31All right?
  1027. 44:34Okay, so configure a default static
  1028. 44:36route.
  1029. 44:38So, in figure one
  1030. 44:40or in in the figure here, okay? So, our
  1031. 44:42topology
  1032. 44:44So, R1 could be configured with three
  1033. 44:47static routes.
  1034. 44:49One to reach
  1035. 44:50each of the remote networks in the
  1036. 44:52example topology, like what we did
  1037. 44:54earlier.
  1038. 44:55However,
  1039. 44:56R1 is a stub router because it only has
  1040. 44:59one connection.
  1041. 45:02Okay? Or because it is only connected to
  1042. 45:04R2.
  1043. 45:06So, therefore,
  1044. 45:07it would be more efficient to configure
  1045. 45:09a single route
  1046. 45:11on this router.
  1047. 45:14All right?
  1048. 45:17So, how do we configure this?
  1049. 45:20Okay, so using the IPv4, again, the
  1050. 45:23syntax would be IP route. You've got
  1051. 45:25equal zero
  1052. 45:27followed by
  1053. 45:28the next hop IP address. Okay? So, which
  1054. 45:31is This is again your next hop. All
  1055. 45:33right? So, which is
  1056. 45:36172.16.2.2.
  1057. 45:39So, all traffic from R1 will be
  1058. 45:42forwarded
  1059. 45:44to 19 172.16.2.2.
  1060. 45:49Okay? So, same thing, if you're going to
  1061. 45:51configure R1
  1062. 45:53with IPv6 default route, so that would
  1063. 45:56be IPv6 route
  1064. 45:58colon colon backslash zero.
  1065. 46:01Okay? So, the next stop IP address,
  1066. 46:03which is 2001 db8 acad
  1067. 46:07two
  1068. 46:09two.
  1069. 46:12All right?
  1070. 46:13So, that's configuring a default static
  1071. 46:16route.
  1072. 46:19Okay, so how would we verify
  1073. 46:21the default static route?
  1074. 46:23So, we can use the command show IP route
  1075. 46:26static.
  1076. 46:27Okay? So, the show IP route static
  1077. 46:29command output from R1 displays the
  1078. 46:31contents of the static routes in the
  1079. 46:33routing table. So, take note that you've
  1080. 46:36got an asterisk there.
  1081. 46:40All right?
  1082. 46:41So, the asterisk next to the route with
  1083. 46:44code S
  1084. 46:46Okay? So, the asterisk indicates that
  1085. 46:48this is the static route.
  1086. 46:51Okay? And it's a candidate default
  1087. 46:53route.
  1088. 46:54So, which is why it is elected as the
  1089. 46:56gateway of last resort. So, if you'll
  1090. 46:58observe here,
  1091. 46:59also you'll have here gateway of last
  1092. 47:01resort, which is at 172.16
  1093. 47:052.2.
  1094. 47:07Okay?
  1095. 47:08To network any network.
  1096. 47:12Okay? So, notice that the static default
  1097. 47:14route configuration uses the backslash
  1098. 47:17zero mask for IPv4 default routes.
  1099. 47:20So, remember that IPv4 subnet mask in a
  1100. 47:23routing table determines how many bits
  1101. 47:25must match between the destination IP
  1102. 47:27address
  1103. 47:28of the packet and the route in the
  1104. 47:30routing table.
  1105. 47:32Okay? So, the slash zero mask indicates
  1106. 47:34that none of the bits are required to
  1107. 47:36match
  1108. 47:37as long as a more specific match does
  1109. 47:39not exist, the default static route
  1110. 47:42matches all packets.
  1111. 47:44All right?
  1112. 47:50Okay.
  1113. 47:51So, another thing is on IPv6, Okay?
  1114. 47:55So, the example shows the IPv6 or show
  1115. 47:58IPv6 route static command. Okay? So, to
  1116. 48:01display the content of the routing table
  1117. 48:03here. So, again, we have here an S.
  1118. 48:06Okay? So, notice that the static default
  1119. 48:09route configuration uses the colon colon
  1120. 48:11zero prefix for IPv6 default route.
  1121. 48:16All right?
  1122. 48:17So, remember that the IPv6 prefix length
  1123. 48:20in the routing table determines how many
  1124. 48:23bits must match between the destination
  1125. 48:26IP address of the packet and the route
  1126. 48:28in the routing table.
  1127. 48:29So, the colon colon slash zero prefix
  1128. 48:32indicates that none of the bits are
  1129. 48:34required to match. So, as long as a more
  1130. 48:37specific match does not exist,
  1131. 48:40the default static route matches all
  1132. 48:42packets. Okay? So, other distinction
  1133. 48:45than that of IPv4 is that we don't have
  1134. 48:47an asterisk here on IPv6.
  1135. 48:51All right?
  1136. 48:56Okay. So, on this section, okay? So,
  1137. 48:59configure a floating static route. What
  1138. 49:01is a floating static route?
  1139. 49:04Okay? So, have you heard of this
  1140. 49:06floating static route before?
  1141. 49:08Okay? So, as with the other topics in
  1142. 49:11this module,
  1143. 49:12you will learn how to configure an IPv4
  1144. 49:16and IPv6 floating static routes and when
  1145. 49:19to use them.
  1146. 49:21Okay? So, another type of static route
  1147. 49:23is the floating static route.
  1148. 49:25Floating static routes are static routes
  1149. 49:28that are used to provide a backup path
  1150. 49:31to a primary static or dynamic route in
  1151. 49:33the event of link failure.
  1152. 49:36Okay? So, the floating static route is
  1153. 49:39only used when the primary route is not
  1154. 49:41available.
  1155. 49:43So, to accomplish this, the floating
  1156. 49:45static route is configured with a higher
  1157. 49:47administrative distance than that of the
  1158. 49:50primary route.
  1159. 49:52So, the administrative distance
  1160. 49:53represents the level of trustworthiness,
  1161. 49:56all right, we're talking about on the
  1162. 49:58last topics, okay? So, if multiple paths
  1163. 50:01to the destination exists,
  1164. 50:04the router will choose the path with the
  1165. 50:06lowest administrative distance.
  1166. 50:09So, for example,
  1167. 50:11okay? So, assume that the administrator
  1168. 50:14wants to create a floating static route
  1169. 50:16as a backup
  1170. 50:18to an EIGRP learned route.
  1171. 50:23So, the floating static route must be
  1172. 50:24configured with a higher administrative
  1173. 50:27distance
  1174. 50:28than that of EIGRP.
  1175. 50:31So, EIGRP has an administrative distance
  1176. 50:34of 90.
  1177. 50:35So, if the floating static route is
  1178. 50:37configured,
  1179. 50:39okay? So, with an administrative
  1180. 50:42distance, say 95,
  1181. 50:44okay? The dynamic route learned through
  1182. 50:47EIGRP is preferred
  1183. 50:50to the floating static route having 95
  1184. 50:52as administrative distance.
  1185. 50:55So, if the EIGRP learned route is lost,
  1186. 50:58the floating static route is used in its
  1187. 51:01place.
  1188. 51:02So, that is what we call backup.
  1189. 51:04Okay?
  1190. 51:09All right.
  1191. 51:10So, in the figure here,
  1192. 51:13okay? So, the branch router
  1193. 51:17typically forwards all traffic to the
  1194. 51:20headquarters router
  1195. 51:22over
  1196. 51:23a private
  1197. 51:25WAN link.
  1198. 51:27So, in this example, the routers
  1199. 51:29exchange route information using EIGRP.
  1200. 51:32For instance, this one here uses EIGRP.
  1201. 51:40All right.
  1202. 51:43So, this is the primary link.
  1203. 51:47Okay? So, a floating static route with
  1204. 51:50an administrative distance of 91
  1205. 51:54Okay? So, if this uses 90
  1206. 51:56Okay?
  1207. 51:57And we are going to assign here, for
  1208. 52:00instance, the administrative distance of
  1209. 52:0191.
  1210. 52:03So, whenever this private one fails
  1211. 52:06All right? So, therefore, the connection
  1212. 52:09to the internet having the
  1213. 52:10administrative of 91 will become an
  1214. 52:13active.
  1215. 52:15Okay? So, if the private one link fails
  1216. 52:18and the EIGRP route disappears, for
  1217. 52:20instance, from the routing table
  1218. 52:22the router selects the floating static
  1219. 52:24route as the best path to reach the
  1220. 52:28headquarter here.
  1221. 52:30Okay? So, that's when we use the
  1222. 52:33floating static route. So, if the
  1223. 52:35primary thing or if the primary link
  1224. 52:38fails
  1225. 52:39you've got the secondary link.
  1226. 52:41Okay? So, that will capture and continue
  1227. 52:44the operation
  1228. 52:45of the organization.
  1229. 52:48All right? So, again, that's how we use
  1230. 52:51and when we use the floating static
  1231. 52:53routes.
  1232. 52:56Okay? So, how about configuring IPv4 and
  1233. 52:59IPv6 floating static route?
  1234. 53:02So, IP floating static routes are
  1235. 53:04configured by using the distance
  1236. 53:06argument to specify an administrative
  1237. 53:09distance. So, take note that earlier on
  1238. 53:12the configuration of our
  1239. 53:15um static routes, we did not specify
  1240. 53:19the
  1241. 53:22Okay? So, we did not specify the
  1242. 53:26administrative distance.
  1243. 53:28All right?
  1244. 53:29So
  1245. 53:31if no administrative distance is
  1246. 53:33configured, like what we have here, no?
  1247. 53:35Right? So, there would be no
  1248. 53:36administrative distance configured
  1249. 53:38there. That would be your primary link.
  1250. 53:41Otherwise, if we have the administrative
  1251. 53:44distance configured, that would be our
  1252. 53:47floating static routes or the backup
  1253. 53:49link.
  1254. 53:51All right? So, refer to the topology in
  1255. 53:53the figure.
  1256. 53:54The IP route and IPv6 route commands,
  1257. 53:58okay?
  1258. 53:59are issued on R1.
  1259. 54:05Okay? So, take note that this time our
  1260. 54:08R1 is connected to R3
  1261. 54:10and R1 also is connected to R2.
  1262. 54:13Okay?
  1263. 54:15So, R1 is configured IPv4 and IPv6
  1264. 54:19default static routes pointing to R2.
  1265. 54:24Because no administrative distance is
  1266. 54:26configured, the default value is one.
  1267. 54:30All right? So, take note that
  1268. 54:32we have here,
  1269. 54:34okay? We did We did not specify the
  1270. 54:36administrative distance here and the
  1271. 54:38default value is one.
  1272. 54:41All right? That is for both IPv4 and
  1273. 54:43IPv6.
  1274. 54:46Okay? So,
  1275. 54:49R1 also configured with IPv4 and IPv6
  1276. 54:52floating static default routes pointing
  1277. 54:54to R3.
  1278. 55:01Okay?
  1279. 55:02Now,
  1280. 55:04take a look at the value of the
  1281. 55:06administrative distance there.
  1282. 55:08So, you've got administrative distance
  1283. 55:10of five, okay? Both for IPv4 and IPv6.
  1284. 55:16This value is greater than the value of
  1285. 55:19one and therefore this route floats and
  1286. 55:23is not present in the routing table
  1287. 55:25unless the preferred route fails.
  1288. 55:30All right? So, the show IP route
  1289. 55:33command,
  1290. 55:34okay? And the show IPv6 route output
  1291. 55:37verifies the default routes to R2 are
  1292. 55:39installed in the routing table.
  1293. 55:41So, note that IPv4 floating static route
  1294. 55:44to R3 is not present in the routing
  1295. 55:46table.
  1296. 55:47Okay?
  1297. 55:48So, you'll have it here.
  1298. 55:50Okay? So, IP route static, this is on
  1299. 55:53R1.
  1300. 55:54Okay? So, something like
  1301. 55:57it's via 172 16
  1302. 56:012.2.
  1303. 56:03Okay?
  1304. 56:04So, that means the active link is from
  1305. 56:07R1.
  1306. 56:09Okay?
  1307. 56:10Going to R2.
  1308. 56:12Going to R3.
  1309. 56:13Going to for instance to PC trigger.
  1310. 56:17But, if this link fails,
  1311. 56:19that should traverse.
  1312. 56:21Okay? So, from R1 R3.
  1313. 56:24Take a look at also your
  1314. 56:27next up IP address on IPv6.
  1315. 56:30That's 2001 db8 acad.
  1316. 56:33Okay? So, 2.2. Which is also this one.
  1317. 56:36So, this is your primary
  1318. 56:38link.
  1319. 56:39Okay? So, that is why we cannot see the
  1320. 56:41routing table.
  1321. 56:43Okay? So, this link here because this
  1322. 56:46one is active. Now, if this goes down,
  1323. 56:48all right, that's the time
  1324. 56:50this will be going up and you can see it
  1325. 56:52on the routing table.
  1326. 56:54All right?
  1327. 57:00Okay? So, we use the show run command to
  1328. 57:02verify the floating static routes
  1329. 57:05are in the configuration.
  1330. 57:08Okay?
  1331. 57:09So, this would be
  1332. 57:11our default
  1333. 57:14or floating static routes.
  1334. 57:16Okay? So, shown in the config.
  1335. 57:18All right? So, for example, the
  1336. 57:21following command output verifies that
  1337. 57:23both IPv6 static default routes are in
  1338. 57:26the running configuration.
  1339. 57:28So, again, since there is no indicated
  1340. 57:31um administrative distance here. This is
  1341. 57:33our
  1342. 57:36primary link or default. The default
  1343. 57:37value is one. And once this goes down,
  1344. 57:40this would be our backup here.
  1345. 57:45All right?
  1346. 57:49Okay, so next, test the floating static
  1347. 57:53route. How are we going to test it?
  1348. 57:55So, in the figure, what would happen if
  1349. 57:57R2 fails? For instance, this R2 here
  1350. 58:01goes down.
  1351. 58:03What do you think will happen?
  1352. 58:04Okay?
  1353. 58:05So, basically, what will happen is
  1354. 58:08this network here will not be able to
  1355. 58:11reach other remote networks.
  1356. 58:15All right?
  1357. 58:17So, without doing other things, okay,
  1358. 58:20you could simply shut down, okay,
  1359. 58:24uh R2, both of its serial interfaces.
  1360. 58:27So, that would simulate that the network
  1361. 58:29is down. So, R1 automatically generates
  1362. 58:31a syslog message for the link going
  1363. 58:34down, right?
  1364. 58:35So, a look at R1's routing table would
  1365. 58:37show that the secondary route is being
  1366. 58:40used. Okay, so assuming
  1367. 58:43we have the link here.
  1368. 58:47All right? So, assuming that we have the
  1369. 58:48link there.
  1370. 58:50Okay?
  1371. 58:54All right. So, what would happen if R2
  1372. 58:57fails? This is basically what you see.
  1373. 59:00Okay? So, you're going to have
  1374. 59:01notifications that
  1375. 59:04the
  1376. 59:06interface and the protocol went down.
  1377. 59:09So, notice that at R1 automatically
  1378. 59:12generates messages indicating that the
  1379. 59:15serial interface to R2 is down.
  1380. 59:20Okay?
  1381. 59:22You'll have this.
  1382. 59:27Okay. So, a look at the IP routing
  1383. 59:29tables for R1 verifies that the floating
  1384. 59:32static route default routes are now
  1385. 59:34installed as the default routes and are
  1386. 59:36pointing to R3 as the next hop router.
  1387. 59:39So, you'll have it this
  1388. 59:42time. Okay? So, our backup path.
  1389. 59:47All right?
  1390. 59:49So, that's how we test it. You could
  1391. 59:51intentionally shut down the interface or
  1392. 59:53your primary link and then see it on the
  1393. 59:56routing table that it has changed to
  1394. 59:57your
  1395. 59:58floating static route.
  1396. 1:00:05So, next section would be configure a
  1397. 1:00:08static host routes.
  1398. 1:00:10So, this topic shows how to configure
  1399. 1:00:13an IPv4 and IPv6 static route or host
  1400. 1:00:16route
  1401. 1:00:18when to use them.
  1402. 1:00:20A host route is an IPv4
  1403. 1:00:24address with a 32-bit mask or an IPv6
  1404. 1:00:29address with 128-bit
  1405. 1:00:32mask.
  1406. 1:00:34So, the following shows the three ways,
  1407. 1:00:36okay?
  1408. 1:00:38A host route can be added to the routing
  1409. 1:00:41table. So, first would be
  1410. 1:00:44automatically installed
  1411. 1:00:47when an IP address is configured on the
  1412. 1:00:49router.
  1413. 1:00:51Configured as static host route
  1414. 1:00:54and host route automatically obtained
  1415. 1:00:57through other methods. Okay, so which
  1416. 1:01:00will be discussed later in the courses.
  1417. 1:01:05Okay?
  1418. 1:01:06So, automatically installed host routes.
  1419. 1:01:09So, Cisco IOS automatically installs a
  1420. 1:01:11host route, also known as the local host
  1421. 1:01:13route denoted by L,
  1422. 1:01:15all right, on the routing table.
  1423. 1:01:16So, when an interface address is
  1424. 1:01:18configured on the router, the host route
  1425. 1:01:21allows for a more efficient process for
  1426. 1:01:24packets that are directed to the router
  1427. 1:01:27itself, rather than for packet
  1428. 1:01:29forwarding.
  1429. 1:01:31So, this is in addition to the connected
  1430. 1:01:34route.
  1431. 1:01:35Designated with C
  1432. 1:01:37in the routing table for the network
  1433. 1:01:39address of the interface.
  1434. 1:01:42So, when an active interface on a router
  1435. 1:01:45is configured with an IP address,
  1436. 1:01:47a local host route is automatically
  1437. 1:01:50added to the routing table.
  1438. 1:01:53So, the local routes are marked with
  1439. 1:01:55letter L
  1440. 1:01:56in the output
  1441. 1:01:58of the routing table. Like what you have
  1442. 1:02:00seen earlier on the past demonstration
  1443. 1:02:02or the past
  1444. 1:02:03um diagrams presented.
  1445. 1:02:06All right?
  1446. 1:02:11Okay, so for example, refer to the
  1447. 1:02:14topology in the figure.
  1448. 1:02:17The IP address assigned to branch serial
  1449. 1:02:200 1 0,
  1450. 1:02:24okay?
  1451. 1:02:26are 198
  1452. 1:02:2951
  1453. 1:02:30100 .1
  1454. 1:02:33/30.
  1455. 1:02:35And that would be 2001
  1456. 1:02:38DB8 acad 1,
  1457. 1:02:41okay? colon colon 1 /64.
  1458. 1:02:46Now, the local routes for the interface
  1459. 1:02:48are installed by the IOS in the IPv4 and
  1460. 1:02:52IPv6 routing tables.
  1461. 1:02:54Okay?
  1462. 1:02:56So, it's in here.
  1463. 1:02:58All right? So, it's denoted by L.
  1464. 1:03:01Okay?
  1465. 1:03:03There.
  1466. 1:03:06So, the IP address assigned to the
  1467. 1:03:07branch, okay? So, take note, we're
  1468. 1:03:09indicated onto the
  1469. 1:03:12routing table. So, denoted here by
  1470. 1:03:14letter L. Okay?
  1471. 1:03:18Now, a host route can be manually
  1472. 1:03:20configured with a static route to direct
  1473. 1:03:23traffic to a specific destination
  1474. 1:03:25device, such as the server shown in the
  1475. 1:03:27figure here.
  1476. 1:03:29The static route uses the destination IP
  1477. 1:03:31address 255.255.255/32
  1478. 1:03:36mask.
  1479. 1:03:37That would be for IPv4 host routes. And
  1480. 1:03:41a /128 prefix length for the IPv6 host
  1481. 1:03:45routes.
  1482. 1:03:47Okay? So, in here, you'll observe you've
  1483. 1:03:49got IP route.
  1484. 1:03:51That would be 209.165.200.238.
  1485. 1:03:56Okay?
  1486. 1:03:57255.255.255.255.
  1487. 1:04:0219198.51.100.2.
  1488. 1:04:08Okay? So, for IPv6,
  1489. 1:04:10that would be IPv6 route
  1490. 1:04:122001:db8:acad:2.
  1491. 1:04:15Okay? So, colon colon 238.
  1492. 1:04:192001
  1493. 1:04:21db8:acad:1:colon:colon:2.
  1494. 1:04:25All right?
  1495. 1:04:29Okay, so how do we verify a static host
  1496. 1:04:31route?
  1497. 1:04:33So, a review of both IPv4 and IPv6 route
  1498. 1:04:35tables verifies that the routes are
  1499. 1:04:37active.
  1500. 1:04:39Okay? So, it's in here.
  1501. 1:04:48Okay?
  1502. 1:04:49Now, for IPv6 static routes, the next
  1503. 1:04:52hop address can be
  1504. 1:04:54the link-local address of the adjacent
  1505. 1:04:56router. However,
  1506. 1:04:58you must specify an interface type and
  1507. 1:05:01an interface number when using
  1508. 1:05:03link-local address as the next hop.
  1509. 1:05:06As shown in the example here.
  1510. 1:05:08So, first, the original IPv6 static host
  1511. 1:05:12is removed.
  1512. 1:05:13Okay?
  1513. 1:05:15Then a fully specified route configured
  1514. 1:05:17with IPv6 address of the server and the
  1515. 1:05:20IPv6 link local address of the ISP
  1516. 1:05:23router.
  1517. 1:05:25All right?
  1518. 1:05:31So, that ends up this video lecture.
  1519. 1:05:34Please see the video demo on how to
  1520. 1:05:36configure
  1521. 1:05:38IP static routing.
  1522. 1:05:40Thank you very much. Thanks for watching
  1523. 1:05:41and listening. Have a great day.

About this transcript

This page contains the full transcript of SRWE M15 IP Static Routing by Santelmo, generated from the public captions YouTube serves with the video. The transcript has 7,671 words across 1,523 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.