chapter 27 sections cs 332 spring 2014. link-state routing q: could you go over link-state routing...

8
Chapter 27 sections CS 332 Spring 2014

Upload: osborn-robinson

Post on 27-Dec-2015

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

Chapter 27 sections

CS 332Spring 2014

Page 2: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

Link-state Routing

Q: Could you go over link-state routing (like OSPF)?A: Each router constructs a graph of the network in its memory. Each router broadcasts on its interfaces – “I’m on this network”. Routers then figure out they are directly connected. When they learn they are directly connected to other routers they share that information with neighbors. So, all routers learn the entire topology and can run Dijkstra’s algorithm to compute best paths.

Page 3: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

OSPF vs. RIP

Q: How common is RIP vs. OSPF?

A: I don’t think most routers use RIP anymore. RIP wasn’t designed for CIDR addressing (although it was probably updated to handle it). RIP also has weird problems… “split horizon”, “count-to-infinity” and other stuff I’ve forgotten about. Most everyone uses OSPF, afaik.

Page 4: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

Broken connections

Q: How does a routing protocol know that a connection is broken?

A: The application somehow gets info from the OS that a port/connection is down (register for a callback or polls the connection status often). Then, when it goes down it quickly recomputes routes and sends out a status update to other routers.

Page 5: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

Routing Groups

Q: Are routing groups statically or dynamically configured?A: Statically – i.e., manually by a network manager.

Page 6: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

Dijkstra’s Algorithm

Q: In OSPF, for Dijkstra’s algorithm, what does it use for link metrics? (i.e., length’s of edges between routers)

A: By default (afaik), it uses 1 for each connection. It can be configured by a network manager to have different metrics for each connection.

Page 7: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

ASes and sub-ASes

Q: Can Autonomous Systems be sub-divided into sub-ASes?

A: Not that I know.

Page 8: Chapter 27 sections CS 332 Spring 2014. Link-state Routing Q: Could you go over link-state routing (like OSPF)? A: Each router constructs a graph of the

Routers not in an AS?

Q: Is there ever a situation where there is a functional group of internetworked routers that is not classified as an autonomous system?

A: Not every group of routers is an AS – or has an AS number assigned. As far as I can tell, Calvin does not have an AS assigned. I think you only need an AS number if you have multiple service providers connected via BGP.