Lecture 5 Flashcards

Network Layer

1
Q

What does the network layer do?

A

Moves the packet from a sending host to a receiving host.

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

How does the network layer on each host sent/receive packets?

A

The sender will first encapsulate the segments into datagrams. This is sent to the receiver, which unwraps the segments and delivers it to the transport layer on its host.

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

What is routing?

A

Determining the path taken by the packets as they flow from sender to receiver.

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

What is forwarding?

A

When routers move packets from an input link to an appropriate output link.

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

What are forwarding tables? What hap

A

A router determines an index from the value of a field in the packets headers. This index is put into the router forwarding table. The forwarding table can use this value to determine the outgoing link the packet is to be forwarded to. The routing algorithm determines the output link the data is sent to.

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

What are connect and connectionless services called?

A

Connectionless services are called datagrams networks.

Connection services are called virtual-circuut networks.

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

What is the difference between virtual-circuit networks and transport layer networks?

A

VC networks are host to host, not socket to socket.

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

A network can provide both connection and connectionless services?

True or False

A

False. A network can only provide on of the two.

E.g. The internet it connectionless at the network layer, but an atm uses VC networks.

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

What does a Virtual-circuit consist of?

A
  1. A path between the source and destination hosts
  2. VC numbers (one number for each link along the path)
  3. The entries in the forwarding table in each router along the path
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What always happens in the network layer wheen a new VC network is established?

A

A new entry for this VC network is added to the forwarding table.

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

What happens at the network layer when a VC network terminates?

A

All applicable entries in each forwarding table along the path are removed, as they are no longer needed.

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

What is VC setup?

A

When the sender specifies the receivers address and waits got he network to connect to the call.

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

What does data transfer mean?

A

Once the VC is established, packets are allowed to flow through the VC network.

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

What does it mean by VC teardown?

A

When the sender of receiver informs the network layer of its desire to terminate the VC network. The network will then inform the other end system and the network will update the routers forwarding tables.

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

Explain Datagram networks.

A

No setup is required by the network layer.
Packets are forwarded using the destination hosts address. Each router still has a forwarding table to map the destination addresses to link interfaces, to allows the path of the packet to be tracked.

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

What is longest prefix matching?

A

When you look through a forwarding table for an entry to match the destination address, use the longest prefix address available that matches.
Prefix address are not fully recorded, so they only have part of the address.

Example:
11001000 00010111 00010* **
Matches to
11001000 00010111 00010110 10100001