Installing and Configuring DHCP Server (DHCPd) on FreeBSD 설치 및 구성 dhcp 서버 (dhcpd)을 freebsd

DHCP, the Dynamic Host Configuration Protocol, describes the means by which a system can connect to a network and obtain the necessary information for communication upon that network. dhcp, 동적 호스트 구성 프로토콜을 사용하는 방법에 대해 설명합니다 네트워크에 연결할 수있는 시스템과 커뮤니케이 션시 해당 네트워크에 대해 필요한 정보를 구하십시오.

When dhclient, the DHCP client, is executed on the client machine, it begins broadcasting requests for configuration information. dhclient 때, dhcp 클라이언트가 실행을 클라이언트 시스템 구성 정보에 대한 요청이 방송을 시작합니다. By default, these requests are on UDP port 68. 기본적으로, 이러한 요청은 사용자 데이터 그램 프로토콜 포트 68. The server replies on UDP 67, giving the client an IP address and other relevant network information such as netmask, router, and DNS servers. 답글을 서버에 사용자 데이터 그램 프로토콜 67, 주소 및 기타 관련주는 네트워크는 클라이언트와 같은 정보 네트 마스크, 라우터 및 서버합니다. All of this information comes in the form of a DHCP ?lease? 의 모든 형식의에서이 정보는 dhcp? 임대? and is only valid for a certain time (configured by the DHCP server maintainer). 그리고는 유효 기간이 일정 시간 (dhcp 서버 관리자를 통해 구성된 경우). In this manner, stale IP addresses for clients no longer connected to the network can be automatically reclaimed. 이러한 방식으로 고객을위한 부실 주소 네트워크에 연결되어 더 이상을 자동으로 매립 수있습니다.

DHCP Server (or DHCPd) is the server that provides the DHCP client the information it needed, and it’s the server portion of the suite is not provided as part of FreeBSD, and so it needs to install from the net/isc-dhcp3-server port to provide this service. dhcp 서버 (또는 dhcpd)는 서버가 클라이언트의 정보를 제공합니다이 필요 dhcp, 그리고 그것은 서버 제품군이 제공되지 않는 부분의 일환으로 freebsd했고, 정말 필요가 net/isc-dhcp3에서 설치 - 서버 포트가이 서비스를 제공합니다.

FreeBSD comes with ISC DHCP, and it comes with FreeBSD as ports net/isc-dhcp3-server. 라이프 freebsd 함께 dhcp, 그리고 그것으로 포트를 freebsd net/isc-dhcp3-server 함께합니다.

To install it, change to ports net/isc-dhcp3-server directory and execute the following command: 를 설치, net/isc-dhcp3-server 디렉토리 및 실행하는 포트를 변경 내용을 다음과 같은 명령 :

# make install clean #을 설치하는 청소

DHCPd is configured by using a configuration file, normally dhcpd.conf located at /usr/local/etc directory. dhcpd 설정 파일을 사용하여이 구성 일반적으로 dhcpd.conf 위치를 / usr / 지방 / 비고 디렉토리합니다. Normally there is an example configuration file which is dhcpd.conf.example at the directory. 일반적으로이 예제 구성 파일을이 디렉토리에 dhcpd.conf.example합니다. Copy dhcpd.conf.example to dhcpd.conf or create a new dhcpd.conf before proceeding to make changes on DHCP Server. dhcpd.conf를 복사하거나 새 dhcpd.conf dhcpd.conf.example를 진행하기 전에 dhcp 서버를 변경합니다.

dhcpd.conf is comprised of declarations regarding subnets and hosts, and is perhaps most easily explained using an example : 서브넷의 구성에 관한 선언을 dhcpd.conf와 호스트, 그리고는 아마 대부분의 간단한 설명을 사용하는 예 :

option domain-name “example.com”; (1) 옵션을 도메인 - 이름 "example.com"; (1)
option domain-name-servers 192.168.4.100; (2) 옵션을 도메인 - 이름 - 서버에 192.168.4.100, (2)
option subnet-mask 255.255.255.0; (3) 옵션 서브넷 - 마스크를 255.255.255.0, (3)

default-lease-time 3600; (4) 기본 - 임대 - 타임 3600; (4)
max-lease-time 86400; (5) 맥스 - 임대 - 시간 86400; (5)
ddns-update-style none; (6) 의 DDNS - 업데이트 - 스타일 없음; (6)

subnet 192.168.4.0 netmask 255.255.255.0 { 192.168.4.0 서브넷 마스크 255.255.255.0 (
range 192.168.4.129 192.168.4.254; (7) 범위 192.168.4.129 192.168.4.254; (7)
option routers 192.168.4.1; (8) 옵션을 라우터 192.168.4.1; (8)
} )

host mailhost { 호스트 mailhost (
hardware ethernet 02:03:04:05:06:07; (9) 하드웨어 이더넷 02:03:04:05:06:07; (9)
fixed-address mailhost.example.com; (10) - 주소를 고정 mailhost.example.com; (10)
} )

(1) This option specifies the domain that will be provided to clients as the default search domain. (1)이 옵션을 지정하는 도메인이이 도메인의 기본 검색으로 제공되는 클라이언트합니다.
(2) This option specifies a comma separated list of DNS servers that the client should use. (2)이 옵션은 쉼표로 구분된 목록을 지정하는 서버는 클라이언트를 사용해야합니다.
(3) The netmask that will be provided to clients. (3)의 넷마 스크가를 클라이언트가 제공합니다.
(4) A client may request a specific length of time that a lease will be valid. (4)에서 클라이언트가 임대 계약을 요청하는 구체적인 시간의 길이는 유효합니다. Otherwise the server will assign a lease with this expiry value (in seconds). 다른 서버가 할당하는 임대 계약이 만료 값 (초 단위).
(5) This is the maximum length of time that the server will lease for. (5) 이것은 최대 길이를위한 시간이 서버는 임대합니다. Should a client request a longer lease, a lease will be issued, although it will only be valid for max-lease-time seconds. 을 요청하는 클라이언트는 더 이상 임대, 임대가 발급됩니다지만 그것을당하는 경우에만 유효 기간은 최대 - 임대 - 타임 초.
(6) This option specifies whether the DHCP server should attempt to update DNS when a lease is accepted or released. (6)이 옵션을 업데이 트하려는 시도할지 여부를 지정 dns 때 dhcp 서버는 임대 기간이 허용되거나 공개합니다. In the ISC implementation, this option is required. 의 라이프 구현,이 옵션이 필요합니다.
(7) This denotes which IP addresses should be used in the pool reserved for allocating to clients. (7)이 상징을 사용해야합니다 수영장에있는 주소를 위해 남겨놓은 클라이언트에 할당합니다. IP addresses between, and including, the ones stated are handed out to clients. 주소 사이에, 그리고 포함 나눠주는 클라이언트에있는 사람들을 밝혔다.
(8) Declares the default gateway that will be provided to clients. (8)를 선언을 클라이언트의 기본 게이트웨이가 제공합니다.
(9) The hardware MAC address of a host (so that the DHCP server can recognize a host when it makes a request). (9)의 하드웨어 맥 주소를 호스트 (dhcp 서버가 인식할 수 있도록 호스트 요청을 만드는 경우).
(10) Specifies that the host should always be given the same IP address. (10) 지정하는 호스트는 항상 동일한 주소 제공합니다. Note that using a hostname is correct here, since the DHCP server will resolve the hostname itself before returning the lease information. 참고 : 호스트 이름은 정확한 위치를 사용하는가이기 때문에, dhcp 서버는 임대 정보를 반환하기 전에 자신의 호스트를 해결합니다.

Once you have finished writing your dhcpd.conf, you can proceed to start the server by issuing the following command: 귀하의 dhcpd.conf 작성이 완료되면, 당신은 진행하여 다음과 같은 명령을 발행하여 서버를 시작합니다 :

# /usr/local/etc/rc.d/isc-dhcpd.sh start # / usr / 지방 / 비고 / rc.d / 라이프 - dhcpd.sh 시작

Should you need to make changes to the configuration of your server in the future, it is important to note that sending a SIGHUP signal to dhcpd does not result in the configuration being reloaded, as it does with most daemons. 해야 할 경우 해당 서버의 구성을 변경하려면 나중에 참고하는 것이 중요합니다 dhcpd는 신호를 보내는 sighup의 구성되는 결과를 다시로드하지 않습니다으로 그것은 대부분의 데몬합니다. A SIGTERM signal to stop the process, and then restart it using the command above. a sigterm 신호를 중지하는 과정을 누른 다음 명령을 사용하여 다시 시작합니다 위의합니다. For example: 예를 들면 :

# ps wax | grep dhcpd # ps 왁스 | grep dhcpd
pid of dhcpd will be shown pid의 dhcpd가 표시됩니다

# kill -15 (pid of dhcpd) # 죽이기 -15 (pid의 dhcpd)

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 중요 사항 : 이것은 기계 번역 페이지는 "있는 그대로"제공하지 않고 보증합니다. Machine translation may be difficult to understand. 기계 번역을 이해하기 어려울 수있습니다. Please refer to 를 참조하시기 바랍니다 original English article 원래 영어 자료 whenever possible. 언제 수있습니다.

Share and contribute or get technical support and help at 를 공유하고 기술 지원 및 도움을 공헌하지 않는다면 My Digital Life Forums 내 디지털 라이프 공개 토론 . 합니다.



Leave a Reply 남길 회신

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 태그를 사용할 수있습니다 : <a href="" title=""> <acronym title=""> <abbr title=""> <blockquote cite=""> <b> <cite> <code> <델 날짜 = ""> <em> <i> <strike> '<q cite="">

Subscribe without commenting 논평없이 구독 신청
이메일


Custom Search

New Articles 새로운 기사

Incoming Search Terms for the Article 이 문서에 대한 검색어를 수신

freebsd dhcpd freebsd dhcpd - - freebsd dhcp freebsd dhcp - - dhcp freebsd dhcp freebsd - - dhcpd FreeBSD dhcpd freebsd - - freebsd restart dhcpd freebsd dhcpd를 다시 시작 - - dhcpd option 66 dhcpd 옵션 66 - - freebsd dhcp server dhcp 서버 freebsd - - restart DHCPD FreeBSD freebsd dhcpd를 다시 시작 - - vista dhcp server 비스타 dhcp 서버 - - freebsd dhcp listen from a certain ip address freebsd dhcp 들어 특정 주소에서 - - dhcp server freebsd dhcp 서버 freebsd - - enabling dhcp in vista dhcp를 활성화 비스타 - - DHCP on FreeBSD dhcp에 freebsd - - fix mac address on dhcpd.conf on FreeBSD dhcpd.conf에서 맥 주소를 수정 freebsd - - dhcpd.conf option 66 dhcpd.conf 옵션 66 - - isc-dhcpd fbsd 라이프 - dhcpd fbsd - - vista as dhcp server 비스타 dhcp 서버로 - - freebsd dhcpd.conf freebsd dhcpd.conf - - install dhcp freebsd dhcp freebsd를 설치 - - dhcpd server freebsd dhcpd 서버 freebsd - - dhcp in freebsd dhcp에 freebsd - - how to install DHCP on freeBSD dhcp에 freebsd를 설치하는 방법을 - - DHCP+FREEBSD dhcp + freebsd - - freebsd dhcp restart freebsd dhcp를 다시 시작 - - freebsd dhcpd restart freebsd dhcpd를 다시 시작 - - option 66 dhcpd.conf 옵션 66 dhcpd.conf - - dhcpd vista dhcpd 비스타 - - freebsd 7 dhcpd 7 freebsd dhcpd - - DHCP + freebsd dhcp + freebsd - - freebsd dhcpd server dhcpd 서버 freebsd - - FreeBSD 7.0 DHCP server freebsd 7.0 dhcp 서버 - - bsd dhcp server dhcp 서버 bsd - - configuring dhcpd dhcpd 설정 - - dhcp option 66 dhcpd.conf dhcp 옵션을 66 dhcpd.conf - - freebsd 7.0 dhcp freebsd 7.0 dhcp - - linux configure dhcp option 66 리눅스 dhcp 옵션을 구성하는 66 - - dhcpd "option 66" dhcpd "옵션을 66" - - dhcp for freebsd dhcp에게 문의 - - dhcp dengan freebsd dhcp dengan freebsd - - dhcp with freebsd dhcp와 freebsd - - fix dhcp server lease download vista 수정 프로그램을 다운로드 비스타 dhcp 서버 임대 - - dhcp no freebsd dhcp 아니오 freebsd - - dhcp same subnet dhcpd.conf dhcp 동일한 서브넷 dhcpd.conf - - dhcpd + freeBSD dhcpd + freebsd - - installing dhcp freebsd dhcp freebsd 설치하기 - - dhcpd bsd dhcpd bsd - - freebsd dhcpd user dhcpd 사용자 freebsd - - Installing Web Server in FreeBSD 6.0 freebsd 6.0을 웹 서버에 설치하기 - - freebsd install dhcp freebsd를 설치 dhcp - - configuring dhcp server dhcp 서버 구성 - -