Introduction to IP Flashcards
What is IP? What is it responsible for?
IP is Internet Protocol. It is responsible for taking data from one end of the network and moving it to the other end.
Using the truck analogy, what is the following: Truck Road Boxes (Inside the Truck) Inside Boxes
Truck is the IP
Road is the network topology (Ethernet/DSL/Cable System)
Boxes are data (TCP/UDP)
Inside Boxes is application information
Describe the interaction between Client and Server via Ethernet
Client > Ethernet Header > IP > TCP/UDP > DATA (HTTP/VoIP/Email) > Ethernet Trailer > Server
What layer of OSI does TCP/UDP fall under?
OSI Layer 4, the transport layer
What is multiplexing? What is this a feature of?
Allows us to use multiple different applications at the same time. This is a feature of TCP/UDP.
What is TCP? Elaborate.
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.
What is UDP? Elaborate.
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.
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?
The boxes (data) would go to the “rooms” of the house, which would be the port.
Summarize the list of components used to get data from one side to another using IP.
Server IP Address -> TCP/UDP Protocol -> Server Application -> Port Number.
Client IP Address -> TCP/UDP Protocol -> Client Port Number
What is a non-ephemeral port? Which range of ports are non-ephemeral?
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.
What is an ephemeral port? Which range of ports are ephemeral?
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.
What is the range of TCP and UDP port numbers?
0 and 65,535.
What are port numbers for?
Communication.
What is a common server example that would use UDP?
VoIP Server. Sends data (Voice chat), and hopes the receiver is ready to receive.
What is a common server example that would use TCP?
Email Server. Sends data (Email), and there is confirmation (Receipt).