TCP/IP Flashcards
What is UDP?
User Datagram Protocol, created by David Reed with RFC 768 under internet standards,
UDP works best for streaming, speed over efficiency
What is a host name?
unique identifier for an individual machine connected to a network.
domain name informs us of the network, host name informs us of the individual host on the network.
www.
DNS
Domain name system, unique string associated with an IP address. ex: google.com
easier to remember google.com than it is to remember the entire IP address
DNS query
the process by which a computer or device on a network makes an inquiry to other devices to get the IP address for a DNS name
Recursive servers
if computer fails to find DNS query in local cache, it queries the servers hosted by your ISP, called recursive servers
Root Name Servers
if recursive server does not have DNS query cached, root name servers are queried. These servers are at the foundation of the DNS
Describe the cycle of a DNS query where the DNS needs to be accessed by the root name server.
- Local cache is queried on your device
- Recursive server is queried, ISP server
- Root name server is queried
- Top level domain servers is queried
- authoritative server queried for DNS and transmits info needed back to recursive server and then to you
What is IP?
Internet protocol, responsible for moving data in the form of electronic packets until packets are received @ the IP address
What is TCP?
Transmission control protocol: responsible for ensuring safe delivery of each data packet from the sending node to the receiving node
TCP/IP Layers
- Application/process layer
- Transport layer
- Protocol layer
- Network layer
- Physical layer
IPV4
32 bit, 0.0.0.0 -> 255.255.255.255
4 billion unique addresses
IPV6
128 bit, 2021:8d46:7f38:0000:7654:0000:3djg8:2398
340 trillion unique addresses
What is DNS?
Domain name system, a hierarchical database that links domain names with IP addresses
IANA
maintains registries for coordination of IP addressing and DNS root zone, non profit organization
ICANN
non profit org, keeps the internet secure and stable
Application layer types
- Browsing protocols HTTP and HTTPS
- File transfer protocols FTP and TFTP
- Email protocols, POP3 IMAP receiving, SMTP sending
- Remote Administration Protocols, Telnet & SSH
- Network Management Protocol SNMP
- Others: Bootstrap and DHCP assign IP address to computers on a network, DNS used for searching domain names
Subnet mask
the subnet mask is just an indicator of which of the 4 octets of the IP address transmitted are used to identify the network address, while the rest of the octets identify the computer or node.
what does the prefix of an IP address represent?
the network
What does the suffix of an IP address represent?
the device
Non routable IP addresses?
are those reserved for internal networks (your own home wireless network probably can be accessed by 192.168.1.1 for example)
What is network address translation?
used to provide an alias for the device, the router than translates that alias back to the device’s IP
What is IPV4?
Internet protocol version 4, the core protocol that routes most internet, 32 bit, address consists of four octets,
What is an IP packet?
consists of a header and encapsulated data.
Detail the IP packet header?
An IP header is divided into 14 fields and contains the necessary information for delivering the packet to its destination
How many classes of the IP addressing system are there?
The IP addressing system is divided into five classes: Class A, B, C, D, and E. Each has its own range of addresses.
Detail the ranges for the five classes of the IP addressing system.
Class A: 0.0.0.0 to 127.255.255.255 This class is for large networks and has 8 bits for network and 24 bits for the host
Class B: 128.0.0.0 to 191.255.255.255 suitable for medium-sized networks and have 16 bits for network and 16 bits for hosts
Class C: 192.0.0.0 to 223.255.255.255 support small networks and have 24 bits for network and 8 bits for hosts
Class D: 224.0.0.0 to 239.255.255.255. host group or multicast group
Class E: 240.0.0.0 to 255.255.255.254 reserved for experimental purposes
Detail a public IP address.
is the address that an Internet Service Provider (ISP) assigns to identify your computing device to the outside world. These addresses are globally unique and allow direct access to the internet.
private IP address
is generally provided for private networks, like home or office networks. An office computer or a printer is assigned a private IP address so that the devices residing outside your network can’t directly communicate via these private IP addresses.
what are reserved IP addresses?
IP addresses are reserved for special purposes by the internet addressing organizations Internet Engineering Task Force (IETF) and the Internet Assigned Numbers Authority (IANA).
Benefits of IPV6 over IPV4
more addresses IPV4- 4 billion, IPV6- 340 trillion
no need to use a NAT, which means all devices will be able to be identified with a unique IP address of their own
Security is also much higher with IPv6 since the authenticity of each network packet is encrypted. Encrypting the packets being sent and received over the network ensures that packet spoofing will be harder to accomplish by a potential attacker.