5 - Network Layer Control Plane
5 - Network Layer Control Plane
1
2. The Control plane
• the control plane logic may be implemented in every router distributedly or may
be logically centralized in a remote controller
• Google, Microsoft use a logically centralized control for their private networks
2
3. Routing algorithms
• routing algorithms seek good paths from the source to the destination through
the series of routers
• the choice of route may depend on cost and policy considerations
• An abstraction of a network using a graph
– a graph G = (N, E) is a set N of nodes and a collection E of edges, where
each edge is a pair of nodes from N
3
4. The Link-State routing algorithm
• in a link-state algorithm, the network topology and all link costs are known
• this is accomplished by having each node broadcast link-state packets to all other
nodes in the network
• all nodes have an identical and complete view of the network
• Each node can then run the LS algorithm and compute the same set of least-cost
paths as every other node
• Dijkstra’s algorithm computes the least-cost path from one node to all other
nodes in the network
4
– the forwarding tables can now be updated!
5
5. Distance Vector routing algorithm
• DV is a decentralized algorithm
6
– the algorithm can adapt to changing weights!
7
6. Intra-AS routing in the Internet: OSPF
– hot potato routing in BGP - identify route with the least cost to the NEXT-
HOP router
• policy, scale and performance issues necessitate the need for two routing proto-
cols!
8
7. SDN Control Plane
9
• SDN controller does communication (e.g., OpenFlow), network-wide state man-
agement and provides APIs to network-control application layer (e.g., OpenDay-
light, ONOS)
10
8. ICMP: The Internet Control Message Protocol (RFC 792, RFC 4443)
• Traceroute!
11
9. Network Management and SNMP
12
1 Exercises
1. What is the “count to infinity” problem in distance vector routing? (R5)
2. What two types of ICMP messages are received at the sending host executing the
Traceroute program? (R20)
3. Consider the figure below. Enumerate all paths from A to D that do not contain any
loops. (P1)
4. Consider the following network. With the indicated link costs, use Dijkstra’s shortest-
path algorithm to compute the shortest path from x to all network nodes. Show how
the algorithm works by computing a table similar to Table 5.1. (P3)
5. Consider the network shown below. Assume that each node initially knows the costs
to each of its neighbors. Consider the distance-vector algorithm and show the distance
table entries at node z. (P5)
6. Consider a general topology (that is, not the specific network shown above) and a
synchronous version of the distance-vector algorithm. Suppose that at each iteration,
a node exchanges its distance vectors with its neighbors and receives their distance
vectors. Assuming that the algorithm begins with each node knowing only the costs
to its immediate neighbors, what is the maximum number of iterations required before
the distributed algorithm converges? Justify your answer. (P6)
2 Reference
1. Chapter 5 (The Network Layer: Control Plane) of Kurose and Ross, Computer net-
working: A top-down approach
13