15. Networking Concepts Flashcards
What is a network?
2 or more computers linked together to share data
What are network clients?
Computers & software that request resources from servers
Purpose of network protocols?
assign unique addresses to hosts & define packet structures for communication
What is a packet?
A wrapper for network data units
What do packets generally consist of?
- Header
- Payload
Header = protocol type, source address, destination address, erorr correction information, etc.
Payload = Data
What does network encapsulation mean?
A packet from 1 protocol can be wrapped within the packet from another
Primary protocol of the Internet & WWW?
TCP/IP
TCP/IP is also the primary porotocol for many private internets (networks that connect LANs together)
What is TCP/IP?
Suite of network transport protocols
TCP/IP layers?
- Application
- Transport
- Internet
- Link
These layers work together to enable communication between devices over a network, with each layer handling specific tasks and responsibilities.
What does the link layer do?
Puts frames onto the physical network.
At this layer, various networking technologies like Ethernet or Wi-Fi are used for local communication. Data is packaged into frames, but TCP/IP protocols are not utilized, and communication is limited to the local network segment.
What do the Internet layer protocols do?
Encapsulates packets into datagrams & handles routing between networks
3 protocols used in the Internet layer?
- IP
- ARP
- ICMP
Meaning of ARP?
Address Resolution Protocol
Meaning of ICMP?
Internet Control Message Protocol
TCP’s Internet layer protocols
What does the IP protocol do?
Facilitates logical addressing & packet routing
TCP’s Internet layer protocols
What does the ARP protocol do?
Maps MAC addresses to IP addresses
This makes it possible for packet delivery
Hosts broadcast ARP messages onto the local network to find out which host MAC address “owns” a particular IP address. If the destination host responds, the frame can be delivered. Hosts also cache IP:MAC address mappings for several minutes to reduce the number of ARP messages that have to be sent.
TCP’s Internet layer protocols
What does the ICMP protocol do?
Reports packet delivery errors
What do the transport layer protocols do?
Provides communication sessions between computers.
Each application protocol is identified at the transprt layer by a port number
2 protocols used in the transport layer?
- TCP
- UDP
Meaning of TCP?
Transmission Control Protocol
Meaning of UDP?
User Datagram Protocol
TCP transport layer protocols
What does TCP protocol do?
Provides connection-oriented packet delivery
The delivery is reliable & packets are delivered in correct sequence
TCP transport layer protocols
What does UDP protocol do?
Provides connectionless packet delivery
UDP lacks sequencing guarantees, necessitating application-layer handling of any associated unreliability. Yet, its efficiency stems from minimal processing overhead, rendering it faster than TCP.
What do application layer protocols do?
Provides communication formats for exchanging data between hosts
i.e. transmitting an email or requesting a webpage
These protocols define the structure, syntax, and semantics of the messages or data packets being exchanged, ensuring compatibility and proper interpretation by both the sender and the receiver (i.e. HTTP, SMTP, FTP, DNS, etc.)