Week 5 - Advanced Routing and QoS Flashcards

1
Q

Define multicast?

A

The transmission of information to more than one destination.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is IGMP?

A

One of the three main IP protocols (other htan ICMP and IP) - Internal Group Management Protocol (IGMP) is used for multicast messaging. When a computer wants to join a group it sends an IGMP JOIN message to its router. Routers then periodically poll hosts in the network to ask if they are still in teh group. Once accepted, the router joins the multicast tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is DVMRP? What is MOSPF?

A

Distance Vector Multicast Routing Protocol (DVMRP).

  1. All routers receive the traffic for all groups.
  2. Router without any members on a group send Prune message up the tree.
  3. Router without any neighbours as members remove multicast entries.
  4. Process is repeated periodically.

Very inefficient especially for small groups.

MOSPF is a multicast extensio to OSPF. In OSPF we already know all the node route information, MOSPF proposes to use that to multicast the packages. This also has a big disadvantage of each router having to know all the group memberships.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is PIM-SM?

A

Protocol Independent Multicast - Sparse Mode

DVMRP works the way it does because the router does not know what to do to join a group.

PIM-SM each group has a Rendez Vous Point which needs to be known in advance (provided outside the system). The router then sends a unicast message to the RP to join. Hosts wishing to send to the multicast group just send to the RP.

Note: Only specific sources can send to RP (this is to avoid DDOS attacks).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What challenges remain for Multicast?

A

Technical:
- Each group requries state (routing tables) in every router in the path.
- Difficult to be used for time shifted content
- Difficult to achieve reliability and congestion control

Commercial:
- ISPs like to sell bandwidth. Multicast saves bandwidth so is bad for business.
Availability:
- Multicast is only available in limited intra-domain deployments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is SDN? And the pros/cons?

A

Pros:
- Allows for much more elaborate routing.
- Centralization allows for decisions to be made based on many packet fields, simplifies the router control plane
Cons:
- Resilience becomes more problematic
- Memory in the forwarding plane increases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does the forwarding table work?

A

Packets that don’t match any rule may be escalated to the controller. Controller then calculates rule and send back to the router.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the most common arrival distribution: Poisson?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the most common servicing disribution?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Kendals notation?

A

Population size = total number of packets
queue discipline = FIFO example

M/M/1 = Markovian/Markovian/1 server is the most common network format
Or M/D/1 = Markovian/Deterministic/1 if service is a fixed rate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What assumptions do we make when doing queueing calculations?

A
  1. FIFO
  2. No bulking or reneging
  3. Arrivals are indepdendent (markovian)
  4. Service times are independent
  5. Arrival and service rates remain stable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the formulas for queueing calculations for average number of packets in the queue / average time packets spends on the queue?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Often each output port has many queues (one per flow, one per class), how do we decide which packet to choose next? Pros and cons of each approach?

A

Fair Queueing (FQ) - Round Robin. Affects greedy flows, also benefits flows with large packets by default.
Bit Round Fair Queueing (BRFQ) - Emulates a bit-by-bit round-roin discipline but whole packets are forwarded in each round. This achieves fair queueing independently of the packet sizes. Good for classless best-effort traffic only
Weighted Fair Queueing (WFQ) - Round robin with pre-assigned weights. Weights may be applied based on flow resources for example (i.e. flow with 512Kb/sec gets more than the 64Kb/sec resource).
Priority Queueing (PQ) - queues are assigned priorities and always served in strict order of priority, with priority queue always served first. Good for important traffic but can lead to starvation. This is resolved with Rate Limits. A priority queue is served until their rate limit (bandwidth rate cap) then other queues are served the same way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How does weighted fair queueing work in practice?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Considering three queues A,B,C with packet sizes 200, 50, 100, how are the queues served? Assuming now that the weights associated with the three queues are 1,2,3, how are the queues served?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is proactive packet discard?

A

As the queue occupancy grows, packets are dropped before the queue gets full, TCP senders will then receive a packet loss congestion signal and back-off. TCP-Based flows will then back-off, alleviating congestion before buffer actually fills.

Random Early Detection (RED) are used as proactive packet discard mechanisms.

17
Q

What is Random Early Detection (RED)?

A
  1. Calculate the average queue size (TH=threshold)
  2. If avg < THmin then queue packet
    else if THmin<=avg<THmax then calculate probability to discard packet, if within probability discard otherwise queue
    finally if THmax<=avg then discard packet
18
Q

How is Quality of Service (QoS) maintained in a network?

A

1.Resource reservation
2.Sensitive scheduling

19
Q

What is the issue with RSVP in relation to QoS? And whats the alternative?

A

For every connection, a reserve has to be stored in every router on the path. This has a big cost in the core routers in the Internet. Instead of every router holding state over the route for each channel, edge routers are setup with per class traffic management. Buffering and scheduling is based on marking at the edge.

20
Q

What are the Per-Hop behaviours (PHBs)?

A
21
Q

What are R-specs and T-specs?

A

R-Spec: defines the QoS being requested
T-Spec: defines the traffic characteristics (bursty etc.)

22
Q

What’s the alternative to QoS?

A

Over-provisioning. Make sure that adequate resources are always available in the network.
Problem:
- No strict guarantees given statistical nature of traffic
- Moore’s law: as capacity increases, demand will also increase to consume it.
- Not economical

23
Q

How does QoS work across AS?

A

Each Autonomous System will have a bandwidth broker, applications contact the BB to acquire/send data on r/t specs. Still an open research issue.