From e3e67bd66b6846b4ce73e16da25eed68e8bc8c80 Mon Sep 17 00:00:00 2001 From: Hugh Ratsch Date: Tue, 28 Jan 2025 22:43:29 -0600 Subject: [PATCH] added ch 4 --- src/4-ip-services.md | 64 ++++++++++++++++++++++++++++++++++++++++++++ src/SUMMARY.md | 1 + 2 files changed, 65 insertions(+) create mode 100644 src/4-ip-services.md diff --git a/src/4-ip-services.md b/src/4-ip-services.md new file mode 100644 index 0000000..fcd8e6a --- /dev/null +++ b/src/4-ip-services.md @@ -0,0 +1,64 @@ +# IP Services + +This section explores essential IP services that operate at Layer 3 (Network Layer) and above, including NAT, NTP, DHCP, DNS, SNMP, syslog, QoS, SSH, TFTP, and FTP. + +## 4.1 NAT (Network Address Translation) + +NAT allows devices with private IP addresses to access the public internet. It translates private IP addresses to public IP addresses. + +* **Inside Source NAT:** Translates the source IP address of a packet from a private address to a public address when the packet is leaving the internal network. + * **Static NAT:** Uses a one-to-one mapping between private and public IP addresses. + * **NAT Pools:** Uses a pool of public IP addresses to translate multiple private addresses. + +## 4.2 NTP (Network Time Protocol) + +NTP synchronizes the clocks of network devices. This is important for log files, security mechanisms, and other time-sensitive applications. + +* **Client/Server Mode:** NTP clients synchronize their clocks with an NTP server. + +## 4.3 DHCP and DNS + +* **DHCP (Dynamic Host Configuration Protocol):** Automatically assigns IP addresses and other network configuration parameters to devices. +* **DNS (Domain Name System):** Resolves domain names (e.g., www.example.com) to IP addresses. + +## 4.4 SNMP (Simple Network Management Protocol) + +SNMP is used to monitor and manage network devices. + +* **Functions:** + * **Get:** Retrieves information from a device. + * **Set:** Modifies configuration settings on a device. + * **Trap:** Sends notifications from a device to an SNMP manager. + +## 4.5 Syslog + +Syslog is a standard for logging messages from network devices. + +* **Facilities:** Categorize messages based on their source (e.g., authorization, network). +* **Levels:** Indicate the severity of a message (e.g., emergency, alert, critical, error, warning, notice, info, debug). + +## 4.6 DHCP Client and Relay + +* **DHCP Client:** A device that requests IP configuration information from a DHCP server. +* **DHCP Relay:** Forwards DHCP requests between different subnets. + +## 4.7 QoS (Quality of Service) + +QoS prioritizes different types of network traffic. + +* **PHB (Per-Hop Behavior):** Defines how traffic is treated at each hop in the network. +* **Classification:** Identifies and categorizes traffic. +* **Marking:** Adds markings to packets to indicate their priority. +* **Queuing:** Places packets in different queues based on their priority. +* **Congestion Management:** Handles network congestion. +* **Policing:** Drops traffic that exceeds a configured rate. +* **Shaping:** Buffers traffic to smooth out bursts. + +## 4.8 SSH (Secure Shell) + +SSH provides a secure way to access network devices remotely. It encrypts the communication between the client and the server. + +## 4.9 TFTP/FTP + +* **TFTP (Trivial File Transfer Protocol):** A simple protocol for transferring files. It's often used to transfer configuration files or firmware to network devices. +* **FTP (File Transfer Protocol):** A more complex protocol for transferring files. It supports authentication and encryption. \ No newline at end of file diff --git a/src/SUMMARY.md b/src/SUMMARY.md index d816013..4592fda 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -3,3 +3,4 @@ - [Chapter 1 Network Fundamentals](1-network-fundamentals.md) - [Chapter 2 Network Access](2-network-access.md) - [Chapter 3 IP Connectivity](3-ip-connectivity.md) +- [Chapter 4 IP Services](4-ip-services.md)