Introduction to IP Flashcards

1
Q

What is IP? What is it responsible for?

A

IP is Internet Protocol. It is responsible for taking data from one end of the network and moving it to the other end.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
Using the truck analogy, what is the following:
Truck
Road
Boxes (Inside the Truck)
Inside Boxes
A

Truck is the IP
Road is the network topology (Ethernet/DSL/Cable System)
Boxes are data (TCP/UDP)
Inside Boxes is application information

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

Describe the interaction between Client and Server via Ethernet

A

Client > Ethernet Header > IP > TCP/UDP > DATA (HTTP/VoIP/Email) > Ethernet Trailer > Server

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

What layer of OSI does TCP/UDP fall under?

A

OSI Layer 4, the transport layer

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

What is multiplexing? What is this a feature of?

A

Allows us to use multiple different applications at the same time. This is a feature of TCP/UDP.

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

What is TCP? Elaborate.

A

Transmission Control Protocol. It is connection-oriented. Data is transferred, then terminated. It has a “reliable” delivery method. We can expect a “receipt” of delivery. The receiving device can control the flow of traffic, and can manage out-of-order messages or re-transmissions.

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

What is UDP? Elaborate.

A

User Datagram Protocol. It is a connection-less protocol. It sends data when it is available, and hopes the receiver is ready to receive. It has “unreliable” delivery, so there is no reordering of data, no error recovery, and no verification of received data. No flow control.

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

Referring to the Truck Analogy, the IP delivery truck delivers from one IP address to another IP address. Where do the boxes (truck cargo) go?

A

The boxes (data) would go to the “rooms” of the house, which would be the port.

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

Summarize the list of components used to get data from one side to another using IP.

A

Server IP Address -> TCP/UDP Protocol -> Server Application -> Port Number.
Client IP Address -> TCP/UDP Protocol -> Client Port Number

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

What is a non-ephemeral port? Which range of ports are non-ephemeral?

A

Non-ephemeral means non-temporary (Permanent). So non-ephemeral ports are permanent ports.
These are Ports 0 - 1023.
Usually on a server or service.
Commonly would be server IP Address.

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

What is an ephemeral port? Which range of ports are ephemeral?

A

Ephemeral means temporary. So ephemeral ports are temporary ports.
These are Ports 1024 - 65,535.
Client decides to use randomly, as it’s sending information back to the server.
Commonly would be client IP Address.

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

What is the range of TCP and UDP port numbers?

A

0 and 65,535.

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

What are port numbers for?

A

Communication.

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

What is a common server example that would use UDP?

A

VoIP Server. Sends data (Voice chat), and hopes the receiver is ready to receive.

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

What is a common server example that would use TCP?

A

Email Server. Sends data (Email), and there is confirmation (Receipt).

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

What is ICMP? Describe it and give an example. What is it commonly used for?

A

Internet Control Message Protocol. An example is “Text messaging” for network devices. Commonly used for administrative use. Example: a device requesting/replying to administrative requests, i.e. Device -> ICMP Message (Is this device here? -> Response (Yes, this device is here.)