SME Server Configuration Program (DHCP) Dynamic Host Configuration Protocol

zhaozj2021-02-11  211

SME Server Configuration Program (DHCP)

2001-06-05 12:07

Publisher: NetBull Readings: 111 Tanghaijing (submission) Section 3 DHCP Server & 3.1 Introduction For those who don't know about network technology, configuring TCP / IP may be a very complex work, for those who will PC Users connecting to the LAN can only be configured to the server side, which simplifies the user's work complexity. Of course, this will increase the amount of administrator to a certain extent, but from the overall consideration, this is optimal. This chapter I will introduce you how to configure dynamic IP allocation and management, and use popular language to explain how it works. I hope that you will become a qualified network administrator through reading this chapter. The full name of DHCP is a dynamic host configuration protocol (Dynamic Host Configuration Protocol), designed by the IETF (Internet Engineer Task Force), detailed protocol content in RFC document RFC2131 and RFC1541. The purpose is to reduce the lack of IP address space in order to reduce the planning, management and maintenance of TCP / IP networks. Servers running DHCP set up the TCP / IP network settings, dynamically handle the configuration of the workstation IP address, contact with DHCP lease and preset IP address, DHCP lease provides automatic allocation and renting IP on TCP / IP network The mechanism of the address implements the centralized management of IP addresses, basically no need to intervene in network managers. Moreover, the DHCP itself is designed to expand it into a BOOTP (Rover Agreement), supports a diskless workstation that requires network configuration information, and provides corresponding support for systems that require fixed IP. (LinuxByte Download DHCP) & 3.2 Required Resources & 3.2.1 Requirements DHCP-2.0-5.i386.rpm & 3.2.2 Required Profile / Etc/dhcpd.conf system comes with, administrator configuration / var / state / DHCP / DHCPD.LASES system is not, administrator creation & 3.3 Configuration scenario 1: DHCP master configuration file source file: Subnet 192.168.0.0 Netmask 255.255.255.0 {# Specify network segment and subnet mask Option Routers 192.168.0.1; # Specify the default route Option Subnet-Mask 255.255.255.0; # Specifies DHCP subnet mask Option Domain-name "weboa.com.cn"; # Specifies domain Option Domain-name-Servers 192.168.0.1; # Default DNS server Range Dynamic-bootp 192.168.0.10 192.168.0.250; # ip allocation range default-lese-time 1200; # If the client cannot request a specified rent period, use this parameter to define the length of time of the address. Max-Lease-Time 87600; # Used to specify the maximum time of rent, although the length of the lease is determined based on the client's request.

# weowed the nameserver to Appear at a fixed address # Host NS {# Next-Server marvin.redhat.com; # hardware Ethernet 12: 34: 56: 78: AB: CD; # fixed-address 207.175.42.254; } # The above-mentioned part is used to assign a permanent IP to the client, that is, you can use it to make a network card and IP binding 2. /var/state/dhcp/dhcpd.Leases Description: IP assignment record file Execute Touch /Var/state/dhcp/dhcpd.Leases Generating Source File: Space & 3.4 Test and Management Measures & 3.4.1 Test Method 1. The administrator modifies the configured configuration file to be executed /etc/rc.d/init.d/dhcpd restart to make the change take effect. 2. In the client of Windows 98, users need to configure TCP / IP to automatically search IP. 3. The client of Windows 98 can run WiniPCFG to dynamically apply for IP. 4. Administrators can monitor the allocation of IP resources by viewing the /var/state/dhcp/dhcpd.Leases file. & 3.4.2 Management Method 1. You can monitor the allocation of IP by performing tail -f /var/state/dhcp/dhcpd.leases. & 3.5 Other References 1. Almost all of Linux is Paul Vixie / ISC DHCPD to implement DHCP server-side features. Access: http://www.isc.org/isc & 3.6 Summary Through learning this chapter, you must have a feeling, which is a simple configuration of DHCP. This is like a certain extent, because I introduced to you is a primary server with a subnet. This is the easiest network topology. If it is more complex multi-subsidiar network, it is more Trouble, this will need to configure a relay agent (DHCRELAY) for each subnet, and its document can be found in Linux, and you will understand. source:

转载请注明原文地址:https://www.9cbs.com/read-3618.html

New Post(0)