Introduction to IP Flashcards

1
Q

What two protocols are in IP?

A

TCP and UDP

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

What do we say is encapsulated within IP?

A

TCP and UDP

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

What is a common use for TCP and UDP?

A

moving data from one part of the network to another`

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

Where might TCP and UDP operate?

A

at the transport layer of the OSI model (sometimes OSI Layer 4)

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

What do TCP and UDP provide that IP does not?

A

multiplexing;

allows many diff apps to simultaneously communicate to a separate server

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

What does TCP stand for?

What is another name for it:?

A

transmission control protocol

connected oriented protocol

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

Describe how TCP works?

A

requires a formal connection setup and close (3-way handhake: SYN > SYN ACK > ACK RECEIVED)

handshake allows user to know data was verified as received, so delivery is considered “reliable”

can reorder messages that were received out of order

can retransmit data if no SYN ACK received

has a flow control mechanism to allow user to manage how much data is being sent

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

What does UDP stand for?

another name?

A

user datagram protocol

connectedless protocol

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

Why is UDP considered unreliable?

A

there is no formal connection made so there is also no acknowledgement of data being received
(thus no reordering of data or retransmissions)

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

What protocol does not have flow control?

A

UDP

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

What protocol is faster and is associated with real-time communication?

Why is it faster?

A

UDP

a formal connection does not have to be made between devices before data can be sent

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

What is an example of a connectionless form of communicating?

What are two protocols that use this form?

A

UDP

dynamic host configuration protocol (DHCP)
trivial file transfer protocol (TFTP)

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

What is DHCP used for?

A

assigns IP addresses to our devices

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

What is TFTP used for?

A

used to transfer files using UDP

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

In UDP communication using DHCP, who is responsible for making sure info is received on the other side?

A

the app, DHCP

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

What is an example of a connection oriented communication?

What are two protocols that use this form?

A

TCP

hypertext transfer protocol secure (HTTPS)
secure shell (SSH)

17
Q

What does SSH do for the user?

A

provides an encrypted form of terminal communication between our systems

18
Q

Who take responsibility is a packet was not received in a connection oriented communication?

A

TCP takes responsibility and resends missing packet based on what SYN ACK was not received

19
Q

To complete the traffic flow between devices, what info do we need?

A

we need the servers IP address, a protocol (such as TCP or UDP), server application port number for that protocol

we also need the client IP address, protocol being used, associated port number with protocol being used

20
Q

What are non-ephemeral ports?

A

permanent port numbers that are well known on the server (for ex; want to communicate with a web server, we know that the web server commonly uses TCP port 80)

commonly ports 0-1023, but can be anything

21
Q

What is port 80 commonly associated with?

A

HTTP

22
Q

What is port 443 commonly associated with?

A

HTTPS

23
Q

What is a ephemeral port number?

A

temporary port number used by client when communicating with server

commonly assigned port 1,024 - 65,535

24
Q

What are port numbers basically used for?

A

communication (not security)

25
Q

Are TCP and UDP port numbers the same?

A

no

you can have a service running on TCP port 80 and another service running on UDP port 80 (not done in normal operation to avoid confusion)

26
Q

When communicating between client and server, whose port number is random?

A

the client source port number