DHCP server DHCP plays an important role in managing network configurations. When a network is large, DHCP can greatly reduce the workload of administrators. DHCP is divided into two parts: server and client. The server manages IP address sets that can be dynamically allocated, processes DHCP requests from the client, and assigns IP addresses to the client. The client is responsible for sending data packets requesting IP addresses to the server, obtaining the IP addresses assigned by the server, and assigning IP addresses to the client. Most operating systems also provide DHCP clients and server programs.
It indicates that the DHCP server program has been installed.
Start the DHCP server program
After the DHCP server program is installed in the system, the startup script program of the server program is named DHCPD. Use the DHCPD script program to run the DHCP server program in the/etc/rc. d/init. d directory. Therefore, you can use the following command to start/etc/rc. d/init. d. server program:/etc/rc. d/init. d/DHCPD start. you can also run the command to start service DHCPD start.
The above directory contains almost all script programs that start the server. You can see how these scripts are written and how to start the server.
Some DHCPD server scripts start the program
Configuring the client is to configure the NIC (eth0, eth1 ....).
There are thousands of computers on the Internet, and each computer has a unique IP address. These IP addresses can be easily connected to the corresponding computer. However, IP addresses are abstract numbers that are hard to remember, it is better to use meaningful character combinations to represent a computer, which produces a Domain Name System (DNS ). DNS is a system that maps meaningful character combinations with abstract IP addresses, that is, the ing between host names and IP addresses is saved through the DNS server.
In Linux, DNS server programs are implemented by the Berkeley Internet Name Domain software.
After you start the DNS server program and install the DNS server program in the system, you can use the daemon process of the server program to close and start the DNS server program. Tip: the name of the daemon of the DNS server program is named. This process can be used to start and close the DNS server program. The following describes two methods to start and disable a DNS server through a daemon.
Samba server Introduction
The SMB protocol is a protocol used to share files/Printers on a LAN. It can provide file system services and print services for Windows and Linux Hosts in the network.
Check whether the Samba server is installed
Samba has two Daemon Processes: smbd and nmbd. Smbd is the main daemon process.
DHCP server and DNS Server