Chapter 5 (152-157, 174-183) Test 2 Flashcards

1
Q

What is the size of a ethernet message field?

A

-Ethernet has max packet size of 1492
-need to subtract size of the TCP header(24 bytes)
-subtract size of IPv4 header(24 bytes
-therefore the max packet size is 1444
-

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

Describe the transport layer.

A
  • links the application layer software in the application layer with the network
  • segments large messages into smaller ones for transmission
  • manages the session(end-to-end delivery of message.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does NAT do?

A
  • network address translation

- translates private non-routable addresses to a routable IPv4 address.

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

What are the three major functions performed by the transport layer?

A
  • linkin the application layer to the network layer
  • segmenting
  • session management(end-to-end)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe port addresses.

A
  • each application layer software package has a unique port address.
  • applications must tell TCP the application layer port address that is to receive the message.
  • sending computer tells TCP the source and destination port address.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What fields are the port addressed placed in the TCP segment?

A

-the first two fields.

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

How many bits are port addresses?

A

-at bits.

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

What are common well known ports?

A

http: port 80
FTP: port 21
Telnet: port 23
SMTP: port 25

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

Describe segmenting.

A
  • takes one outgoing message from the application layer and break it into a set of smaller segments for transmission through the network.
  • also means to take incoming set of smaller segments from the network layer and reassemble them into one message for the application layer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe how TCP ensures all segments are received?

A

-Continues ARQ(chapter 4).

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

What is the default segment size for transport layer?

A
  • 356
  • Transport layer at the sender negotiates with the transport layer at the receiver to settle on the best segment sizes to use.
  • done by establishing a TCP connection between the sender and receiver.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe a session.

A

-conversation between two computers.

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

What are the two types of messaging?

A
  • connection-oriented

- connectionless.

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

Describe connection-oriented messaging

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

Describe the three way hand shake.

A
  • sender sends a SYN segment.
  • server responds with an ACK and sends its own SYN
  • client seands an ACK for server’s SYN
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe a SYN.

A

-usually a randomly generated number that identifies a packet.

17
Q

What does TCP use to ensure arrival of segments?

A

-continuous ARQ (sliding window).

18
Q

Describe the TCP four-way handshake.

A
  • sender willl send FIN to inform the receiver that it is finished sending data
  • server acknowledges with an ACK
  • server then sends a FIN
  • Sender sends an ACK.
19
Q

Describe conectionless messaging.

A
  • each packet is treated separately and makes its own way through the network.
  • no connection is established.
  • sender sends packets as separate unrelated entitites.
  • may arrive out of sequence so network layer will put sequence number on each packet..
20
Q

How big is the UDP packet?

A

-8 bytes.

21
Q

When is connectionless messaging used?

A

-when application data or message can fit into one single message.

22
Q

Give examples of application layer software that uses TCP?

A

-HTTP, SMTP, FTP, Telnet.

23
Q

What applications use UDP?

A

-DHCP, routing control messages(RIP), network management(SNMP).

24
Q

Describe QOS.

A
  • quality of service.
  • connection oriented messaging in which different connections are assigned different priorities.
  • different classes of service are defined with different priorities.
25
Q

What happens when transport layer software attempts to establish a connection?

A
  • specifies the class of service that the connection requires.
  • when a connection is established, network ensures that no connections are established that exceed the maximum number of that class on a given circuit.
26
Q

Describe Resource Reservation Protocol(RSVP) and Real-Time Streaming Protocol(RTSP).

A
  • permit application layer software to request connections that have certain minimum data transfer capabilities.
  • used to create a connection and request a certain minimum guaranteed data rate.
  • use Real-Time Transport Protocol(RTP) to send packets across the connection.
27
Q

What does RTP contain?

A
  • info about sending app
  • packet sequence number
  • time stamp so that the data in the RTP packet can be synchronized with other RP packets.
28
Q

Does RTP replace TCP or UDP?

A
  • no, combined with UDP.

- each relat time packet first created with RTP and then surrounded by a UDP datagram.

29
Q

What does a router do when it receives a frame?

A

-peforms error checking and sends an acknowledgement.

30
Q

What transport layer protocol does DNS use?

A

-UDP.

31
Q

What does the network layer provide?

A

-addressing and routing.