1 / 9

Chapter 2

Chapter 2. DHCP Server. Contents. DHCP Server Allowing Connections for DHCP Configuring the Server. DHCP Server. DHCP, ( Dynamic Host Configuration Protocol) allows an administrator to configure network settings for all clients on a central server. Feature of DHCP

golda
Download Presentation

Chapter 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 2 DHCP Server

  2. Contents • DHCP Server • Allowing Connections for DHCP • Configuring the Server

  3. DHCP Server • DHCP, (Dynamic Host Configuration Protocol) allows an administrator to configure network settings for all clients on a central server. • Feature of DHCP • The DHCP clients request an IP address and other network settings from the DHCP server on the network. • The DHCP server in turn leases the client an IP address within a given range or leases the client an IP address based on the MAC address of the client’s network interface card (NIC). • If an IP address is assigned according to the MAC address of the client’s NIC, the same IP address can be leased to the client every time the client requests one. • DHCP makes network administration easier and less prone to error

  4. Allowing Connections for DHCP • By default, the DHCP server listens for requests on UDP port 67.

  5. Common DHCP Parameters

  6. Step to configuring basic DHCP server • Step 1: Enable firewall on UDP port 67 • Step 2: copy file /usr/share/dhcp-<version number>/dhcpd.conf.sample to /etc/dhcpd.conf • Step 3: edit file /etc/dhcpd.confby input parameter with its correct value • Step 4: save /etc/dhcpd.conffile • Step 5: create lease Database by using command touch /var/lib/dhcp/dhcpd.leases • Step 6: restart dhcpd service servicedhcpd restart • Step 7: Enable DHCP Client • Step 8: verifying dhcp client IP address

  7. Example • System menu Administration  Security Level and Firewall • In the Other ports area, click Add to specify the DHCP port

  8. Edit /etc/dhcpd.conf file ddns-update-style interim; authoritative; subnet 192.168.10.0 netmask 255.255.255.0 { #global parameters for the subnet option routers 192.168.10.1; option subnet-mask 255.255.255.0; range 192.168.10.20 192.168.10.200; default-lease-time 21600; max-lease-time 43200; }

  9. Enable DHCP Client on RedHat Linux • Click on SystemAdministrationNetwork • Select on Eth0 from Device  Edit  Automatically obtain IP address setting with dhcp • In Terminal typesifconfig eth0 command

More Related