Configuring the DHCP server is what we will explain for you now. Here we will analyze the specific process. Including installation, parameter configuration, and other details. So let's take a look at the specific content.
1. DHCP server startup script --/etc/rc. d/init. d/dhcpd
This script can be used to start, query, and stop DHCP servers. Configure the DHCP server before starting the instance.
2. Configure the DHCP server
(1) DHCP configuration file --/etc/dhcpd. conf
RHEL5 is a blank file by
generateSource file:Null
Test and management methods:
Test method;
1. After the Administrator modifies the configuration file, run/etc/rc. d/init. d/dhcpd restart.To make the change take effect.2. on Windows 98 client, you need to configure TCP/IP to automatically search for IP addresses.3. On the Windows 98 client, you can run winipcfg to dynamically apply for an IP address.4. The administrator can view the/var/state/dhcp/dhcpd. leases file to supervise the allocation of IP resources.
Manageme
Linux: CentOS 6.5
1. Install DHCP service components:# Rpm-ivh dhcp-4.1.1-38.P1.el6.centos.x86_64.rpm or yum install dhcpOptions and parameters:-I: install-V: view more detailed installation information.-H: displays the installation progress in the installation information column.
2. list all files and directories of the software (list ):
# Rpm-ql dhcpOptions and parameters:
-Q: query-L: list
3. cp/usr/share/doc/dhcp-4.1.1/dhcpd. conf. sample/etc/dhcpd. confCopy sample document4. vim/etc/dhcpd.
from being backed up.
6. Finally, use the "Services" console to disable the DHCP Server service. Otherwise, the Service may be automatically started the next time the computer restarts.
Restore a DHCP server
1. Click "Start", click "Administrative Tools", and then click "DHCP ".
2. Right-click the server name and then click "Restore ".
3. In the "Browse For Folder" dialog box, select a Folder to store the backup file and click "OK ".
4. note: If you need to restore the DHCP server without manua
enhanced functions such as voice mailboxes, computer operators, operators, and Web portals. Support for the ringing group and line-finding group, which can easily achieve 800 of the enterprise; flexible and unique IVR voice response, voice mailbox and other personalized services, can solve problems that traditional voice systems cannot solve. The powerful function combination key enables more convenient and richer office applications. It provides personalized call rule settings, detailed call l
)
--- DHCPDISCOVER ---> discovery
--- DHCPREQUEST ----> request lease time
------------------------------
Server lease vim/var/lib/dhcpd. lease
Client lease vim/var/lib/dhclient/chclient-eth0.lease
----------------------
DHCP relay server
Purpose: Use two DHCP servers to divide two hosts with different network disconnections, one of which is used as a relay.
DHCP end
Ddns-update-style interim;
Ignore client-updates;
Subnet 192.168.1.0 netmask 255
modify/etc/dhcpd. conf
# Cat/etc/dhcpd. conf // display the configuration file content
# The end of each line is;
Ddns-update-style interim;
Ignore client-updates;
Subnet 192.168.117.0 netmask 255.255.255.0 {// set the subnet Declaration
Option routers 192.168.117.2; // set the default gateway for the DHCP user
Option broadcast-address 192.168.117.255; // set the broadcast address for the customer
Option subnet-mask authorization limit 255.0; // sets
Article Title: Quickly configure DHCP server configurations in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In the past, we have learned the basic content of the DHCP service, and we have also learned how to configure DHCP servers in Windows. Next we will mainly explain the configuration of the Linux DHCP server.
Linux DHCP server configuration
1. I
The performance and characteristics of the Alpha v9 router are outstanding, and the performance in the market is also eye-catching. Most users who use the Alpha v9 router are Internet cafes, small and medium enterprises, families, and schools, therefore, these users have their own technical talents. The following describes the basic information of the Alpha v9 router. It is a reference standard for users who select a router.
Main features of the Alpha v9 Router
Supports access control, set diffe
In the Internet era, when selecting a multi-functional Broadband Router, you have many reference standards. The following describes the performance of the multi-functional Broadband Router.
Performance Parameter comparison
It is not like some NICs and hubs have similar functions and performance, and the price is also basically the same, users do not have to worry about it during the purchase. The performance of different routers varies a lot, and the price cannot be the same. Therefore, when pur
, and can connect to different ISPs, enjoy more services; with dynamic and automatic load balancing strategy, backup and load balancing can be performed without manual intervention. line faults are automatically shielded/restored, and traffic is automatically re-allocated when a fault occurs. In addition to all common features of broadband routers, it also supports advanced functions such as bandwidth control, timing, on-demand dialing, Internet access permission management, automatic virus isol
of functions, support DHCP server, virtual server, DMZ host, Static Routing, DDNS and other functions, provide a full Chinese WEB management interface, it also supports multiple management methods, such as Telnet and SNMP. Supports remote WEB management. You can easily manage vrouters on the Internet wherever you are.
In terms of security, W548D tengda Wireless Broadband Router can also reassure users, support dual SSID, divide access permissions
In the past, we have learned the basic content of the DHCP service, and we have also learned how to configure DHCP servers in Windows. Next we will mainly explain the configuration of the Linux DHCP server.
Linux DHCP server configuration
1. Install the Linux DHCP service package
RHEL4 fourth disc, dhcp-3.0.1-12_EL.i386.rpm
Mount/dev/cdrom/media/cdrom/
Install the DHCP package
rpm-ivh/media/cdrom/RedHat/RPMS/dhcp-3.0.1-12_EL.i386.rpm
2. dhcp. conf configuration file parsing
Copy the sampl
;
# Broadcast address of the Network
Option routers 192.168.0.254;
# Gateway address
Option domain-name-servers 211.151.48.59, 211.151.48.47;
# Domain name resolution address
Ddns-update-style ad-hoc;
Subnet 192.168.0.0 netmask 255.255.255.0 {
# Define the IP address pool content
Range 192.168.0.100 192.168.0.240;
# The IP address range is 100-240, with a total of 140 IP addresses.
}
# You can also specify an IP address based o
The performance of different routers varies a lot, and the price cannot be the same. Therefore, when purchasing a vro, you must pay attention to the various performance parameters and functions of the vro. This article gives you a detailed introduction to vro parameter settings and security functions.
The current Broadband Router has many rich functions, such as DDNS, NAT, and VPN. For some different users, these terms are just confusing. All the feat
The DHCPD service cannot be enabled, and the system prompts: I want to declare a NIC (because I have two NICS). I don't know how to do this-Linux Enterprise Application-Linux server application information. Here is the details. Redhat 9 I have configured the dhcp service, but it cannot run. The prompt is: I want to declare which Nic I am connecting to (because I have installed two NICs on the local machine, only one is activated)
Where can I declare it? Should I add some statements on dhcpd. co
terminal operating system that is pre-installed on the server.
PXE can guide a variety of operating systems, such as Windows 95/98/2000 and linux.
PXE
1. Start "dhcpd" service
# Yum install dhcpd
Create "dhcpd. conf" in the directory of/etc/dhcp (RHEL6)
Create "dhcpd. conf" in the directory of/etc/(RHEL5)
* We can find a sample in/usr/share/doc/dhcp-*/dhcpd. conf. sample
# Example:
Ddns-update-style interim;
Subnet 192.168.122.0 netmask 255.255.255
.
Set eth2 of hcprelay to vmnet4 when Customer Service 2003 is set to vnnet4
The IP address of 192.168.3.0/24 should be obtained.
Configure the IP address of each network adapter. Be sure not to configure the IP address correctly. After the environment is set up, you can start.
The first step is to configure DHCP.
1 open the dhcpd. conf file and write it to the file
ddns-update-style interim;ignore client-updates;option time-offset -18000;
)
Dynamically modify records in DDNS Mode
According to the dlz test, the throughput of the dlz mode is 20 to 30 times lower than the default Bind mode. Therefore, I decided to adopt the default Bind mode.
2. function implementation:
Without using the dlz database mode, the system design and development are complex. I use the following methods to implement related functions:
View Management: File Operations + rndc
Domain Management: File O
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.