Читайте также: |
|
1. OBJECTIVE OF THE WORK
Configuring dhcpd server to provide automatic configuration TCP / IP stack workstation at the startup.
2. KEY POINTS
DHCP allows hosts on a TCP/IP network to request and be assigned IP addresses, and also to discover information about the network to which they are attached. FreeBSD can be configured to work as a DHCP server using dhcpd demon, developed by ISC (Internet Software Consortium). Dhcpd syntax:
dhcpd [-p port] [-f] [-d] [-cf config_file] [-lf leases_file] [if0 [ifn]]
By default dhcpd is started without any arguments. Usually arguments are used only for testing and debugging. There are two arguments relate to the special configuration:
-f
Uses to run dhcpd as a foreground process. By default dhcpd run as a daemon in the background.if0 [...ifn]
Specifies the interfaces on which dhcpd receives requests for allocation of addresses. The list of physical interfaces are separated by spaces.
All other arguments usually used for testing and debugging. Consider the most frequently used keys:
-p port
To make dhcpd listen on a port other than the standard (port 67), the -p flag is used. Changing of the port from both the server and the client side may lead to incorrect operation of dynamic address delivery.-cf config_file
Causes dhcpd to use another configuration file instead of the default dhcpd.conf.
-lf leases_file
Causes dhcpd to record lease information to another file instead of the default dhcpd.leases. Changing the name of lease file can lead to incorrect dynamic address allocation. Be careful when you use this key.
Дата добавления: 2015-08-27; просмотров: 85 | Нарушение авторских прав
<== предыдущая страница | | | следующая страница ==> |
Максимальное количество баллов, которое может получить экзаменуемый за выполнение всей экзаменационной работы, – 37 баллов. | | | Configuration file dhcpd.conf |