Networking, Ansible, Hosting Flashcards
(184 cards)
What is Ansible?
A configuration management tool
What must a computer do to visit a website?
Resolve the domain to a server, establish a secure connection, and download the web page.
What is a protocol in networking?
A set of rules that define how two machines interact and exchange information.
What are protocol stacks used for?
They organise protocols into layers, from physical transmission to complex data services.
- Low level protocols are used by higher level protocols to provide more complex services, such as reliable delivery of data across continents and secure communication.
What are the two main protocol stacks?
TCP/IP and OSI.
What does TCP/IP stand for?
What are the 4 stages?
Transmission Control Protocol/Internet Protocol.
- It’s the most widely used protocol stack, and is used in web browsers and networked devices.
- Application, transport, internet, physical
What does OSI stand for?
What are the 7 stages?
Open Systems Interconnection.
- It’s a conceptual framework that provides a standardised way to understand and discuss network protocols and their interactions.
- Application, presentation, session, transport, network, data link, physical
What are the three types of networking addresses?
- Domain Name: www.google.com
- IP Address: 192.168.1.3
- MAC Address: 3A ED 6C 4E B7 98
Which OSI layer uses MAC addresses?
Layer 2: Data Link Layer - to allow NICs to talk to each other
Which OSI layer uses IP addresses?
Layer 3: Network Layer
What does the Physical Layer (Layer 1) do?
It transmits raw bits over a physical medium using signals. Concerned with:
- Converting bits into electrical/optical signals or wireless radio waves.
- Managing high voltages, timing and light pulses.
- Handling physical connectors and pin layouts.
What is the Data Link Layer responsible for?
Communication between nearby devices and framing of data using MAC addresses.
- Communication in this layer uses ethernet.
What device typically operates at the Data Link Layer?
Ethernet Switch (L2 Switch).
What are the key fields in an Ethernet frame?
-Destination MAC: MAC address of receiver NIC
-Source MAC: MAC address of sender NIC
-Type: determines how payload is processed
-Data: contains encapsulated data
-CRC: Cyclic Redundancy check used for error detection
What is the function of the Network Layer?
Responsible for logical addressing and routing data using IP (protocol)
What does the Internet Protocol (IP) do?
Routes packets, assigns IP addresses, handles fragmentation and forwarding.
- provides a connectionless service so each packet is treated independently and can be transmitted over different network paths.
What is the format of an IPv4 address?
Four decimal octets, e.g., 192.168.0.1
Four octets each represented by a decimal number ranging from 0 to 255. Some ranges of IPv4 addresses are set aside for private networks.
What is the format of an IPv6 address?
Eight hexadecimal blocks, e.g., 2001:0DB8:ABCD:EF01:2345:6789:ABCD:EF01
- invented because we were running out of IPv4 addresses
- consist of eight hextets, each represented by a four-digit hexadecimal number.
What does the Transport Layer ensure?
End-to-end communication, quality and reliability of data.
What protocols operate at the Transport Layer?
- SSL (secure socket layer) and TLS (transport layer security) provide secure communication over networks through encrypting data.
- TCP provides reliable ordered and error checked delivery of data via IP networks.
- UDP provides unreliable communication, prioritises speed. Useful for time sensitive applications.
When is UDP preferred over TCP?
For time-sensitive applications like video streaming or calls.
What is the structure of an address with a port number?
IP address followed by a colon and port, e.g., 192.168.0.1:80.
What do TLS and SSL do?
Secure communications through encryption and authentication.
What replaced SSL and why?
TLS is an improved version, because SSL had security vulnerabilities