Build DHCP service in Linux redhat6.5

Source: Internet
Author: User
DHCP (Dynamic Host Configuration Protocol) is commonly used in large local network environment, the main role is centralized management, assigning IP address, so that the host in the network environment to obtain the dynamic IP address, gateway address , DNS server address and other information, and can increase the usage of the address.
Experimental goal: C3 DHCP enables C1 and C2 to obtain IP automatically

1: Configure Layer two switch SW2
Add VLAN 10 20 100 and add F1/1 f1/2 F1/3 to vlan10 vlan20 vlan100 respectively
f1/0 interface do trunk link


2: Configure three-layer switching SW1
f1/0 interface do trunk link
Add VLAN 10 20 100 set their gateway and turn on

3: Install DHCP package in Linux
Copy Dhcpd.conf.sample to/etc/dhcp named dhcpd.conf
Edit dhcpd.conf

4: Configure dhcpd.conf
Modify Domain name DNS
Set up an allocated network segment scope Gateway

5: Open DHCPD Service

6: Specify DHCP server address for 192.168.100.111 in layer three exchange

7: Automatic address acquisition using IP DHCP
Test ping success with auto-acquired address

Build DHCP service in Linux redhat6.5

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.