The Internet Layer Flashcards

1
Q

The Internet Layer provides protocols for:

A

1 addressing: How do we know where we are sending packets
2 forwarding: How do we move them on their way
3 routing: How to decide which route to take
4 reporting: How do you signal at the lowest level that things have gone wrong

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

The Internet Protocol (IP) gives :

A

every host and router network interface an address

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

The most important fields of an IP datagram header:

A

the source address and destination address

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

what is the internet?

A

interconnection of different types of connections

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

What is a router?

A

a router exchanges forwarding tables that determine the next best hop route

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

What is a header in the network packet?

A

its the front

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

An IP address is divided into :

A

a network prefix
a host suffix
written network / host

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

What is the dotted decimal notation?

A

It is a way to write IP addresses: bytes are written as decimal numbers, separated by dots

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

What private addressed may not be used on the public internet:

A
  1. 0.0.0/8 — 10.255.255.255/8
  2. 16.0.0/12 — 172.31.255.255/12
  3. 168.0.0/16 — 192.168.255.255/16
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does an IP router do?

A

when a packet is coming from a router it comes in a particular interface but it must go out in another and not the same one otherwise it would start looping.
so a router forwards packest on the appropriate interface.

stores a forwarding table which gives an interface for each possible destination address

periodically exchanges forwarding tables with its neighbours, and then recomputes its own.

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

What does an IP router use?

A

An IP router uses longest prefix address matching, and
benefits from addresses being assigned in hierarchical
fashion

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

What is ICMP?

A

Internet Control Messaging Protocol

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

What does the ICMP do?

A

allows hosts and routers to communicate (often error) information to each other.

So the Internet Control Messaging Protocol is a low-level protocol that enables a router to signal back that a packet cannot be delivered. (It makes no attempt to recover it )

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

ICMP Messages:

A

ICMP Type Code Description
0 0 echo reply
3 0 destination network unreachable
3 1 destination host unreachable
3 2 destination protocol unreachable
3 3 destination port unreachable
3 6 destination network unknown
3 7 destination host unknown
8 0 echo request

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

What does a router do if it doesn’t know what port to forward a packet to?

A

Sends it to a default one

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