Network Layer: Control Plane 2 Flashcards

1
Q

OSPF vs BGP

A

OSPF: intra, inside an area
BGP: inter, between areas

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

BGP

BGP

A
  • Border Gateway Protocol
  • De-facto inter-AS routing protocol (subnets must all have same protocol between each other)
  • Allows subnet to advertise its existence and destinations it can reach
  • Provides ASs with eBGP and iBGP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

BGP

eBGP

A
  • External
  • Allows AS to obtain subnet reachability info from neighboring ASs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

BGP

iBGP

A
  • Internal
  • Allows AS to propagate reachabilityto all AS-internal routers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

BGP

Where is eBGP and iBGP ran?

A

Gateway Routers: iBGP and eBGP
Internal Routers: iBGP
(no routers run only eBGP)

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

BGP

BGP Session

A
  • Two BGP routers exchange BGP messages over semi-permanent TCP connection
  • Advertising paths to different destination networks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

BGP

BGP Advertised Route

A

Prefix + Attributes
Prefix: destination being advertised
Attributes: ASPATH (list of ASs through which prefix advertisement is passed), NEXTHOP (indicates specific internal-AS router to next-hop AS)

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

BGP

Policy-Based Routing

A
  • Gateway receiving route advertisment uses import policy to accept/decline path
  • AS policy also determines whether to advertise path to other neighboring ASs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

BGP

BGP Path Advertisement

A
  • AS policy might choose to not advertise path
  • Gateway router may learn about multiple paths, chooses the best-cost path
  • Gateway router only advertises best-cost path to internal routers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

BGP

BGP Message Types

A

Exchanged between peers over TCP connection
1. OPEN
2. UPDATE
3. KEEPALIVE
4. NOTIFICATION

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

BGP

BGP Messages: OPEN

A

Opens TCP connection to remote BGP peer and authenticates sending BGP peer (transport layer)

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

BGP

BGP Messages: UPDATE

A

Advertises new path (or withdraws old path)

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

BGP

BGP Messages: KEEPALIVE

A

Keeps connection alive in absence of UPDATES; also ACKs OPEN request

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

BGP

BGP Messages: NOTIFICATION

A

Reports errors in previous messages; also used to close connection

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

BGP

Why different Intra and Inter routing?

A

Policy:
* Inter-AS: admin wants control over how its traffic is routed, who routes traffic through its network
* Intra-AS: single admin, so policy is less of an issue

Scale: hierarchical routing saves table size, reduced update traffic

Performance:
* Intra-AS: can focus on performance
* Inter-AS: policy dominates over performance

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

BGP

Hot-Potato Routing

A
  • Choose local gateway that has least intra-domain cost
  • Don’t look at inter-domain cost
17
Q

SDN

SDN

A
  • Software Defined Networking
  • Remote controller computes and installs forwarding tables in routers
18
Q

SDN

Why a logically centralized control plane? (benefits)

A
  • Easier network management, avoid router misconfigurations, greater flexibility of traffic flows
  • Centralized programming is easier (compute once and distribute)
  • Distributed programming is harder (each router has to compute and individually distribute)
  • Open (non-proprietary) implementation of control plane
19
Q

SDN

Traffic Engineering Abilities

A
  • Traffic rerouting
  • Split traffic between different routers
  • Categorize different types of traffic and act accordingly
20
Q

ICMP

ICMP

A
  • Internet Control Message Protocol
  • Used by routers to communicate network-level information
  • Error reporting
  • Echo request/reply (used by ping)
  • Network layer “above” IP (ICMP messages carried in IP datagrams)
21
Q

ICMP

Error Reporting

A

Occurs when unreachable host, network, port, or protocol