1 / 12

Chapter 27

Chapter 27. IS333 Spring 2014. Static vs. Dynamic Routes. Q: Does Calvin use static or dynamic routes?

margot
Download Presentation

Chapter 27

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 27 IS333 Spring 2014

  2. Static vs. Dynamic Routes Q: Does Calvin use static or dynamic routes? A: Most everything at Calvin is switched, as you recall. So, most machines use DHCP to get their IP addresses and default route. This would be considered a static route. Hosts, in general, do not run any routing protocol.

  3. Dynamic routes on hosts? Q: The book says that most hosts use static routes. When would be a case when a host would use dynamic routing? A: I can’t really think of a case. Perhaps if a host is connected to two or more networks, it might run OSPF to figure how to most efficiently get out to the Internet…

  4. Static vs. Dynamic routes Q: Other than simplicity, are there any advantages to static routing? Why would one explicitly choose it over dynamic routing? A: There is no advantage in terms of forwarding traffic – a route is a route is a route. To have a host get dynamic routes, it would have to run OSPF or RIP, which takes some CPU time, perhaps some configuration, etc. Much simpler to just get the route from DHCP and not mess with it.

  5. Static vs. Dynamic routes (2) Q: A routing table is made, right, when the system boots? A: The routing table is there, but is empty, usually until the machine gets a DHCP response. Then, the interface is created and an entry goes in the routing table, and, the default route is added from the DHCP response. Q: Hosts use static and routers use dynamic? A: Yes, for the most part, I’d say. Dynamic routes get updated dynamically, without human intervention. Static routes never change.

  6. Route timeouts? Q: When an administrator sets a route, is the route permanent or does it timeout? A: The route is “static” – i.e., permanent. It will not be changed, updated, or replaced.

  7. Interior Gateway Protocol Q: What is an example of an Interior Gateway Protocol? A: OSPF and RIP are two IGPs. (IGP is just a generic term for actual protocols run within an organization. Similar for EGP.)

  8. OSPF and metrics Q: What does it mean that OSPF supports metrics? How does an administrator know anything about the cost of a route? A: A hop across a network generally costs “1” – 1 hop. OSPF advertises connectivity by how many networks a packet has to traverse. But, an administrator can manually configure certain “hops” to cost more than 1.

  9. OSPF and routers Q: For OSPF to work, do all routers have to run it? A: Yes. If a router is running OSPF, it will communicate with other routers running OSPF and they will automatically figure how the network topology and how to set routes in the routing table so that there are no loops,etc. Routers that don’t participate may screw that all up.

  10. Link-state Algorithms Q: What is link-state routing? A: Routers figure out their neighbor routers. Then, they communicate with each other sharing who they are all connected to. Each router builds up a model of the network connectivity in memory, and then runs Dijkstra’s algorithm on it to figure out the best path to send packets to get them through the network. Whenever a change in the network happens, they all update their models and change their routes.

  11. Autonomous System Q: Can you explain what an autonomous system is? A: Yes! It is a group of networks/routers run by one organization. It is only really necessary if you connect to the Internet with multiple service providers, because BGP uses AS numbers to coalesce routes.

  12. Import routes into OSPF Q: How can OSPF import routes? A: An edge router running BGP can learn the routes from the Internet, and then OSPF can (somehow) import those routes and advertise them throughout the internal network. (Not usually necessary, though, I would think.)

More Related