Build DHCP and DHCP relay servers under RedHatLinux5

Source: Internet
Author: User
Experimental environment: the company's internal network is divided into three physical network segments, and each other is connected through a Linux gateway server. To provide centralized Address Allocation management, we need to build a DHCP server without increasing hardware investment, dynamically configure network parameters such as IP addresses for clients in different network segments (the experiment topology is as follows): Requirement Description: 1. enable route forwarding on the Linux gateway server and enable DHCP relay. 2. Build a DHCP server in the CIDR Block 192.168.1.0/24

Lab environment:

The company's internal network is divided into three physical network segments and connected to each other through a Linux gateway server. To provide centralized Address Allocation management, we need to build a DHCP server without increasing hardware investment, dynamically configure network parameters such as IP addresses for clients in different network segments (the experiment topology is as follows ):

Requirement Description:

1. Enable route forwarding on the Linux gateway server and enable the DHCP relay service.

2. Build a DHCP server in the CIDR Block 192.168.1.0/24 with the IP address 192.168.1.2. Network parameters, such as IP addresses, can be automatically assigned to clients in the 192.168.1.0/24,192.168 .2.0/24,192.168 .3.0/24 network segment.

3. dynamically assigned IP addresses for each client. The default lease time is 21600 seconds (6 hours), and the maximum lease time is 43200 seconds (12 hours ).

4. Set the DNS server address for each client to 202.106.0.20 and 202,106,148.1.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.