In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about the service principle of configuring DHCP for common Kali Linux services, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Kali Linux Common Service configuration tutorial DHCP Service principle
Dynamic Host configuration Protocol (Dynamic Host Configuration Protocol, referred to as DHCP) is a local area network protocol, which works based on UDP protocol. It has two main uses: first, to automatically assign IP addresses to internal network or network service providers; second, to give users or internal network administrators as a means of central management of all computers. This section describes the installation and configuration of the DHCP service.
Principle of DHCP service
DHCP is one of the TCP/IP protocols, which is mainly used to assign dynamic IP addresses and subnet masks to LAN clients. The functionality and workflow of DHCP services are described below.
Functions of 1.DHCP servic
The main function of DHCP is to dynamically assign IP address, subnet mask, default gateway and so on to the hosts in the local area network. Among them, the concepts related to the information obtained are as follows:
IP address: refers to the Internet protocol address, which is the abbreviation of IP Address. The IP address is used to give a number to a computer on Internet. It is a 32-bit binary number, usually separated into four "8-bit binary numbers" (that is, 4 bytes). IP addresses are usually expressed in the form of (a.b.c.d) in dotted decimal. Among them, a _ is a decimal integer between 0,255.
IP address classification: IP address is divided into A, B, C, D, E five categories. Among them, A, B, C are the basic classes, and D and E classes are used for multicast and reservation. The range of addresses for each type is listed below, as shown in Table 1-1.
Table 1-1 IP address classification
Category
Maximum number of network
IP address range
Maximum number of hosts
Private IP address range
A
126 (2 ^ 7-2)
0.0.0.0-127.255.255.255
16777214
10.0.0.0-10.255.255.255
B
16384 (2 ^ 14)
128.0.0.0-191.255.255.255
65534
172.16.0.0-172.31.255.255
C
2097152 (2 ^ 21)
192.0.0.0-233.255.255.255
two hundred and fifty four
192.168.0.0-192.168.255.255
Broadcast address: an address dedicated to sending to all workstations in the network at the same time. In networks using the TCP/IP protocol, the IP address where the host identification segment host ID is all 1 is the broadcast address.
Local loopback address: a local loopback address refers to an address that begins with 127 and is usually identified by 127.0.0.1.
Subnet mask: also known as network mask, address mask. The subnet mask is a 32-bit address that masks part of the IP address to distinguish between the network identity and the host identity, and indicates whether the IP address is on a local area network or on a remote network.
Default gateway: the IP address of an IP router that is directly accessible. The default gateway means that if a host cannot find an available gateway, it sends the packet to the default designated gateway, which processes the packet.
Routing: the process by which a router receives a packet from one interface, directs it according to its destination address, and forwards it to another interface.
After reading the above, do you have any further understanding of the service principle of Kali Linux common service configuration DHCP? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.