The Web and the Internet Flashcards
How many bytes are in 1 Ethernet frame?
64 to 1526 bytes (Payload can be 46-1500 bytes)
Why are ethernet frames important to the web?
- know the minimum packet sizes that can be sent
- know the potential waste in a transmission
- know sizes that aren’t fragmented or split
- know when you’ll incur latency due to split packets/frames
Why was IPv4 created?
Ethernet is not routable, so we needed a way to communicate to many computers. IP was a compromise to address computers
How many bits of address space do IPv4 addresses have?
32 bits
Why was IPv6 created?
We ran out of IPv4 addresses
How many bits of address space do IPv6 addresses have?
128 bits
User Datagram Protocol (UDP)
A communications protocol that allows computers to communicate with each other.
- Data sent is lossy and not ordered
- No connections
- No guarantees that the data is received
- Used for voice calls and media streaming
Domain Name Service (DNS)
Allows a name to be binded to another name, IP, or set of IPs
What can DNS use to check names?
host, dig, or nslookup
Transmission Control Protocol (TCP)
A communications protocol that allows computers to communicate with each other.
- Connections
- 3-packet handshake
- Maintains order
- Used by HTTP, most internet applications
Firewalls
Usually prevent hosts from communicating on certain ports, or hosting services