In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the Linux system how to configure the DHCP server, the article is very detailed, has a certain reference value, interested friends must read it!
Introduction to DHCP server: today's networks use TCP/IP protocol, so relative to a computer, it must have an IP address to access the Internet, so it can communicate with other devices. But this seems to be messy, because there are so many computers, the management of ip addresses will naturally become a very complex task. But with the dhcp server, the effect is different, it can effectively plan and manage the corresponding network IP, without the need for us to manually set up these large numbers of computers.
The advantage of DHCP server is that it can manage our network and assign parameters, and the fault tolerance of this scheme is very good. In addition, even in a network with a small number of users, the dhcp server is still necessary, it can help us to add a user to the network at will without being affected.
It is also worth noting that some networks that basically do not change the address, the DHCP server is still worth building. Because once we need to change the ip, we won't have to set it passively. Of course, we can also merge the TFTP or SSH server with the DHCP server at the same time, so that we can manage it centrally.
Compared with the dhcp server, it is a device that must exist in the current network state. It plays an important role in the process of network expansion and connection. Therefore, we need to constantly understand it and be able to apply this device more widely on our network.
DHCP server configuration process: assume that the IP address of the DHCP host is 192.168.56.102 Universe 24, and the default lease per user is 1 day, with a maximum of 3 days. The IP address range to be assigned is 192.168.56.103' 192.168.1.11012
The building process of BY THE WAY bloggers is carried out in vmware, and the networking mode of DHCP servers and test hosts is set to host-only 1. Highlight: edit-> Virtual Network preferences
DHCP server installation # yum install dhcp 1 modify the local IP address # cd / etc/sysconfig/network-scrips / / enter the configuration file directory and modify the configuration file # vim ifcfg-ens33 12
# systemctl restart network / / restart the network # ip addr / / View IP address 12
Modify DHCP configuration file (location: / etc/dhcp/dhcpd.conf) # vim / etc/dhcp/dhcpd.conf 1
Start / restart the DHCP service # systemctl start/restart dhcpd 1 test client (WIN7)
Dns-server
These are all the contents of the article "how to configure the DHCP server in the Linux system". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.