Network layer (osi 3) Flashcards

1
Q

Basic function of layer 3

A
  • routing (path selection for packets across network)

- internetworking

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

InternetProtocol

A

IP and ICMP

Best effort, connectionless packet delivery

IP header:
Version, Header length, ToS, tot. Length, identification, flags, fragment offset, time to live, upper layer protocol, checksum, addresses, options

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

IP fragmentation

A

Each packet data set has same ID,

Fragment offset gives location in the original frame payload in units of octets

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

IP address

A
32 bit (ipv4)
two parts: netID and hostID

Many classes: format for types of IP address used for networks

Reserved IP addresses:

broadcast: hostID all 1 (netID all 1 in local network)
intranetwork: netID all 0

  1. 0.0.0 this host on bootup
  2. 0.0.1 this host (loopback)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Subnetting

A

To split one network into multiple smaller network Subnetting is used:

In a subnet: all IP addresses have a part that is same, starting from the leftmost bit

To determine the subnet: subnetmask: 1111…1|00…0 with /n zeros

Find subnet IP by AND operation with subnetmask

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

DHCP

A

Dynamic Host Configuration Protocol

Builds on BOOTP to allow server to deliver IP configuration to host
-serves to utilize the IP range more effectively by making IP address dynamic(temporary)

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

CIDR

A

Classless Inter Domain Routing

Subnet portion of arbitrary length, not like in class-based addresses

a.b.c.d/length

Used to reduce size explosion of routing tables

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

NAT

A

Network Address Translation

Local network uses one IP address to communicate with outside networks

Edge Routers uses TCP or UDP ports to map outgoing traffic from the intranet to outernet;
ISP can provide a LAN with only 1 address and therefore slowlier exhaust the max amount of administerable addresses;

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

IP transition ipv4 to ipv6

A

Tunneling: ipv6 carried as payload in ipv4 payload among routers
Dual stack: some routers can do both and function as translators

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

Routing

A
  • connectivity by finding path for packets to travel along from host to host
  • performance metric: efficient routes with low prop. delay, losses etc.
  • traffic engineering: balance traffic by choosing links based on combined efficiency

Types:
Centralized global state: one entity calculates routes
Distributed global state: multiple entities know entire network, calculate routes
Distributed global computation: every router knows neighbors, participates in global computation effort

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

Forwarding and routing

A

Forwarding: packet directed to outgoing node based on made calculations
Routing: routers communicating to find optimal forwarding process

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