Networking Exam 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/38

encourage image

There's no tags or description

Looks like no tags are added yet.

39 Terms

1
New cards

How are applications logically connected

By the transport layer

2
New cards

Data packets in the transport layer

segments

(sometimes called datagrams for UDP only)

3
New cards

Where is the transport layer implemented

on the host systems, not routers/switches

4
New cards

Services from the transport layer to the application layer

logical connection

5
New cards

services from the network layer to the transport layer

IP

6
New cards

UDP

User Datagram Protocol

7
New cards

TCP

Transmission Control Protocol

8
New cards

IP

internet protocol

best-effort delivery (unreliable)

9
New cards

Multiplexing

Combining data into one segment

10
New cards

Demultiplexing

separating data in a segment to deliver data to its sockets/ports

11
New cards

TCP common uses

email, remote access, web, file transfer

12
New cards

UDP common sources

remote file server, network manage, DNS, routing

13
New cards

Error detection

checksum

14
New cards

Checksum definition

attach the sum of all the data’s bits

if it doesn’t match, something was lost — resend

15
New cards

Receiver feedback

acknowledgements

16
New cards

Acknowledgements definition

when you get a packet, send back OK

17
New cards

Negative Acknowledgement

NOT used by TCP

acknowledging when a packet is not received

18
New cards

Sequence numbers

denotes order of packets

also identifies duplicate packets sent for redundancy

19
New cards

Time Out

if things are quiet for too long, assume all is lost and resend

20
New cards

Time Out Doubling

after the first timeout, wait twice the time for the next

21
New cards

Pipelining

sending many packets without waiting for each acknowledgement

acknowledgments use sequence numbers now

and they stop at the packet number before any were lost (GBN)

22
New cards

Go Back N size

as many packets as you pipeline at once

“N”

23
New cards

Go Back N function

when a packet is missed, you resend all packets in the buffer starting with that packet (“the nth packet”)

24
New cards

3 events for a GBN sender to respond to

invocation from above (app layer calls (rdt_send())

receipt of an ACK

timeout

25
New cards

Selective repeat

needs acknowledgements for all packets

only resends lost/corrupted ones

26
New cards

Selective repeat window meaning

how many packets can be sent before dealing with lost/corrupted ones

27
New cards

3 sender response events SR

Data received from above

timeout

ACK received

28
New cards

3 receiver response events SR

packet with number in the window is received (send ACK)

packet with number before the window is received (send ACK)

else, ignore packet

29
New cards

why is TCP connection oriented

the handshake

30
New cards

full duplex service

both parties establish a channel and communicate simultaneously

TCP ✅

31
New cards

Multicasting

one sender talks to many receivers

TCP ❌

32
New cards

Three way handshake

Client sends special segment

Server responds with a special segment

Client sends another special segment (has payload)

33
New cards

MSS

max segment size

max data than can be in a segment

34
New cards

MTU

maximum transmission unit

the largest segment + header (frame) that can be sent

35
New cards

RTT

round trip time

from send to receive ACK

36
New cards

estimated rtt

estimated based on the last actual RTT and the last estimated RTT

updates every packet

used for making time outs

37
New cards

Timeout interval

based on estimated RTT and deviation of RTT

38
New cards

flow control

speed matches how fast data can be read out of the receive buffer with how fast data is sent to the receiver

provided by the window (info about it is sent to sender)

39
New cards

3 nmap returns

SYN ACK - allowed and app running

TCP RST - allowed but no app running

Nothing - firewall blocked it