IP and Routing Flashcards
What technique allows you to send TCP and UDP data flows in a single combined transmission over a network?
Multiplexing - allows you to combine multiple application/transport streams into one transmission.
Which protocol TCP or UDP is connection orientated?
TCP - reliable delivery method as ACKnowledges packets are received and can be resent if needed (error recovery) and reordered.
The receiver gets what you send. Guaranteed delivery/signed for.
Which protocol has flow control?
TCP
Flow control - receiving device can tell sender/source device to slow transmission down if it can’t handle the speed or speed up the transmission.
Which is faster TCP or UDP?
UDP - no overheads or waiting for ACKnowledgement from receiving device.
What is included in every IP packet to send the data to the right app?
Port Number.
What is an IP socket?
A combination of an IP address and a port number which together identify the socket for a specific process/service.
IP:Port
What range of port numbers are non-ephemeral?
0-1023 are permanent/non-ephemeral port numbers but this is just a rule of thumb and not set in stone. (you can pick any port number for anything if you’d like.)
What are client side ports from 1024-65,535 also known as?
Ephemeral/Temporary/Changing ports although this is just recommended and it’s just a number. TCP ports are separate from UDP ports e.g. TCP/80 is a different port to UDP/80!.
What type of IPv4 addresses are in the range 127.0-127.255
Loopback address range 127. all devices have a self-loopback address to self reference. This is an easy way to see if your local IP stack is working.
How many bits are in an IPv4 address?
32-bits (8x4) 4 octets.
How many bits are in a IPv6 address?
128-bits, 16 octets
What is a link-local address? What can it communicate with?
A link-local address (e.g. APIPA - 69.254 range) is an IP that allows the device to ONLY connect to other devices on its subnet. It doesn’t allow forwarding by routers.
How many bits are usable for host addresses in a Class B subnet mask?
16 bits (2 octets).
255.255.0.0 (class b subnet mask)
How many bits are reserved for the network address in a Class A subnet mask?
8 bits (1 octet) 255.0.0.0 (class a subnet mask)
How many bits are reserved for hosts in a Class C subnet mask?
8 bits (1 Octet) 255.255.255.0 (Class C subnet) Demarcation (separation marker) point after the first 24 bits reserved for network address before the host portion of the mask begins.
Is CIDR classful or classless?
CIDR - Classless Inter-Domain Routing - removed the restrictions of classful subnet masks.
What is the subnet mask of a CIDR notation of /16? E.g. 172.68.0.0/16
255.255.0.0 because /16 in CIDR is 16 bits for the network portion of the subnet mask.