Network Layer III Flashcards

(10 cards)

1
Q

DHCP: Dynamic Host Configuration Protocol

A

Dynamic IP address allocation: Host gets an IP for a limited time (called a lease).

Lease renewal: Host can renew the lease to keep the IP.

Address reuse: IPs are reused efficiently — if a device leaves, its IP can be assigned to another device.

Supports mobility: Devices can join and leave networks easily, getting new IPs as needed.

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

DHCP: more than IP addresses

A

▪ address of first-hop router for client
▪ name and IP address of DNS sever
▪ network mask (indicating network versus host portion of address)

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

NAT: network address translation

A

NAT: all devices in local network share just one IPv4 address as
far as outside world is concerned

▪ all devices in local network have 32-bit addresses in a “private” IP
address space (10/8, 172.16/12, 192.168/16 prefixes) that can only
be used in local network
▪ advantages:
▪ just one IP address needed from provider ISP for all devices
▪ can change addresses of host in local network without notifying
outside world
▪ can change ISP without changing addresses of devices in local
network
▪ security: devices inside local net not directly addressable, visible
by outside world

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

NAT: network address translation

A

Outgoing packet Replace (source IP, port) → (router’s public IP, new port) and remember this mapping

Incoming packet Use mapping to replace (router’s public IP, port) → (original device IP, port)

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

Making routing scalable

A

scale: billions of destinations:

▪ can’t store all destinations in
routing tables!

▪ routing table exchange would
swamp links!

That’s why hierarchal routing is important

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

Internet approach to scalable routing

A

aggregate routers into regions known as “autonomous
systems” (AS) (a.k.a. “domains”)

intra-AS (aka “intra-domain”):
routing among routers within same
AS (“network”)
▪ all routers in AS must run same intra
domain protocol
▪ routers in different AS can run different
intra-domain routing protocols
▪ gateway router: at “edge” of its own
AS, has link(s) to router(s) in other
AS’es

inter-AS (aka “inter
domain”): routing among
AS’es
▪ gateways perform inter-domain
routing (as well as intra-domain
routing)

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

Interconnected ASes

A

forwarding table configured by
intra- and inter-AS routing
algorithms

intra-AS routing determine entries for
destinations within AS

inter-AS & intra-AS determine entries
for external destinations

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

Intra-AS routing: routing within an AS

A

RIP: Routing Information Protocol [RFC 1723]
* classic DV: DVs exchanged every 30 secs
* no longer widely used

▪EIGRP: Enhanced Interior Gateway Routing Protocol
* DV based
* formerly Cisco-proprietary for decades (became open in 2013 [RFC 7868])

▪ OSPF: Open Shortest Path First [RFC 2328]
* link-state routing
* IS-IS protocol (ISO standard, not RFC standard) essentially same as OSPF

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

OSPF (Open Shortest Path First) routing

A

Open protocol
Publicly specified (RFC 2328), non-proprietary.

Link-state routing
* Routers measure cost of each directly connected link (e.g. bandwidth, delay).
* Flood Link-State Advertisements (LSAs) to all routers in the AS (over IP).

Global topology map
Every router builds the same complete network graph.

Shortest-path computation
Uses Dijkstra’s algorithm on that graph to populate its forwarding table.

Multiple cost metrics
You can weight routes by bandwidth, delay, or a combination.

Security
All OSPF messages are authenticated to prevent spoofing.

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

Hierarchical OSPF

A

Designed for scalability in large networks.

Backbone Area (Area 0)
Central core that connects all other areas.
Only backbone routers operate here.

Local Areas (Area 1, Area 2, etc.)

Contain internal routers that only know about their area.

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