Difference between revisions of "DHCP Option configuration"

Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
 
=== DHCP > DHCP Option ===
 
=== DHCP > DHCP Option ===
A DHCP server can provide optional configuration parameters to the client. The Dynamic Host Configuration Protocol(DHCP) provides a framework for passing configuration information to hosts on a TCP/IP network. Configuration parameters and other control information are carried in tagged data items that are stored in the 'options' field of the DHCP message. The data items themselves are also called "options."
+
A DHCP server can provide optional configuration parameters to the client. The Dynamic Host Configuration Protocol(DHCP) provides a framework for passing configuration information to hosts. Configuration parameters and other control information are carried in tagged data items that are stored in the 'options' field of the DHCP message. The data items themselves are also called "options."
  
 
The IP address is also one of the DHCP options and is supplied from a DHCP pool. But other options(e.g. "Domain Name Server", "NTP", and so on) should be configured.
 
The IP address is also one of the DHCP options and is supplied from a DHCP pool. But other options(e.g. "Domain Name Server", "NTP", and so on) should be configured.
 +
 +
The imRAD has many DHCP options that have been defined by the Internet Assigned Numbers Authority (IANA).<ref>https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml#options</ref><ref>https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#dhcpv6-parameters-2</ref>
 +
If no DHCP option exists, you can define a new DHCP option from the DHCP Option Management.
  
 
==== DHCP Option Configuration ====
 
==== DHCP Option Configuration ====
You can open an interface that can configure a DHCP option from the "Configure DHCP Option" button at the right top of the DHCP > DHCP Option or from the dropdown menu of the DHCP pool list.
+
[[File:dhcp_option_eng.png|400px|thumb|Figure-1]]
 +
You can configure the values in which one of the predefined DHCP options. It opens an interface(Figure-1) that can configure a DHCP option from the "Configure DHCP Option" button at the right top of the DHCP > DHCP Option or from the dropdown menu of the DHCP pool list.
 +
 
 +
You can '''add''' several values in a DHCP option in the interface(Figure-1). By dragging the icon([[File:3colon.png|25px]]) in front of each value allows you can change the order of values. This order is sensitive for some DHCP options.<br>For example, If there are two Domain Name System (DNS) addresses, the first one is provided as the Primary DNS, and the second one is the Secondary DNS.
 +
 
 +
If you hover the mouse on a configured value, it shows a trash icon behind the list. By clicking the trash icon, you can '''delete''' a value of a DHCP option.
 +
 
 +
If you want to '''modify''' a configured value, you have to delete it and add a new value.
 +
 
 +
{| class="wikitable"
 +
! style='width:150px' | Item !! Description
 +
|-
 +
| DHCP Version || It is the DHCP version. Choose either DHCPv4 or DHCPv6.
 +
|-
 +
| [Code] Name|| It is the name of the DHCP option. The code is the value that is specified to a DHCP option<ref>https://tools.ietf.org/html/rfc2132</ref>.
 +
|-
 +
| Data type || It is the data type of the DHCP Option. There are several data types and
 +
|-
 +
| Target DHCP Pool || You can globally or exclusively for a specific DHCP pool define the value of a DHCP option.
 +
|-
 +
| Data Value|| It is the value of the DHCP option, For example, if the DHCP option is the Domain Name System(6), you may input a value as "8.8.8.8".
 +
|}
  
You can globally or exclusively for a specific DHCP pool define the value of a DHCP option.
+
If a DHCP option is exclusively for a specific DHCP pool, the option will be provided only to clients that request IP addresses in the specific DHCP pool.
이 정보는 특정 범위 혹은 전체 범위 단위로 적용 할 수 있습니다.<br>
 
DHCP 서버 옵션을 추가 할 수 있는 방법은 다음과 같이 두 가지 방법이 있습니다.<br>
 
1. 특정 범위에서 [[File:dhcp_menu_icon.PNG|70px|메뉴 아이콘]]의 세 번째 아이콘을 클릭 후 "DHCP 서버 옵션 등록"을 클릭<br>
 
2. DHCP > DHCP 서버 옵션 메뉴를 통해 생성<br>
 
  
DHCP 서버 옵션을 등록 할 경우 "대상 DHCP 범위"를 모든 범위로 선택 할 경우 그 옵션은 모든 범위에 적용되어 그 옵션을 요청한 모든 클라이언트에 제공되며 특정 범위를 선택 할 경우 그 범위에서 임대 요청한 클라이언트에만 전송합니다.<br>
+
After configuring a new value of a DHCP option from the DHCP Option menu, It shows the DHCP option like in Figure-2.
===== 순서 변경 =====
+
[[File:dhcp_option_drag_eng.png|880px|Figure-2]]
하나의 DHCP 서버 옵션에 2개 이상의 값이 추가될 수 있는데 이 값의 순서를 변경하려면 옵션 값 앞에 있는 [[File:3colon.png|25px]] 아이콘을 드래그하면 순서를 변경 할 수 있습니다.<br>
+
'''Figure-2'''
Domain Name Servers인 경우 값 순서에 따라 기본 DNS/보조 DNS가 결정됩니다.<br>
 
[[File:dhcp_option_drag.png|500px]]
 
<br><br>
 
  
  
==== DHCP 서버 옵션 관리 ====
+
==== DHCP Option Management ====
클라이언트에 제공할 DHCP 서버 옵션 중 미리 정의된 옵션과 새로운 옵션을 정의하기 위한 메뉴입니다.<br>
+
If no DHCP option exists, you can define a new DHCP option by clicking the "DHCP Option Management" button at the top right in the DHCP Option menu. If you want to modify something of the predefined DHCP options, you can also do it from this.
===== 새 옵션 =====
+
===== New DHCP Option =====
 
{| class="wikitable"
 
{| class="wikitable"
! 이름 !! 필수 !! 설명
+
! style='width:150px' | Item !! Required !! Description
 
|-
 
|-
| DHCP 버전 || || DHCPv4 또는 DHCPv6
+
| DHCP Version || Yes || DHCPv4 or DHCPv6
 
|-
 
|-
| 코드 || || 정수형 DHCP 서버 옵션 코드
+
| Code || Yes || Input the code of a new DHCP option. the code must be numeric.
 
|-
 
|-
| 이름 || || DHCP 서버 옵션 이름
+
| Name || Yes || It is the name of a new DHCP option.
 
|-
 
|-
| 설명 || 아니오 || DHCP 서버 옵션 설명
+
| Description || No || It is the description of a new DHCP option.
 
|-
 
|-
| 유형 || || DHCP 서버 옵션 유형 중 하나를 선택
+
| Data type || Yes|| Choose one of them.
 
|}
 
|}
  
  
===== 기존 옵션<ref>DHCP 서버 옵션에 데이터가 이미 설정된 경우 삭제를 할 수 없습니다.</ref> =====
+
===== Predefined DHCP Option =====
 +
DHCP 서버 옵션에 데이터가 이미 설정된 경우 삭제를 할 수 없습니다.
 +
 
 
{| class="wikitable"
 
{| class="wikitable"
 
! 이름 !! 필수 !! 설명
 
! 이름 !! 필수 !! 설명
Line 56: Line 75:
  
  
===== DHCP 서버 옵션 유형 =====
+
===== DHCP Option Data Types =====
 
{| class="wikitable"
 
{| class="wikitable"
 
! 이름 !! 설명
 
! 이름 !! 설명

Revision as of 11:29, 15 April 2021

DHCP > DHCP Option

A DHCP server can provide optional configuration parameters to the client. The Dynamic Host Configuration Protocol(DHCP) provides a framework for passing configuration information to hosts. Configuration parameters and other control information are carried in tagged data items that are stored in the 'options' field of the DHCP message. The data items themselves are also called "options."

The IP address is also one of the DHCP options and is supplied from a DHCP pool. But other options(e.g. "Domain Name Server", "NTP", and so on) should be configured.

The imRAD has many DHCP options that have been defined by the Internet Assigned Numbers Authority (IANA).[1][2] If no DHCP option exists, you can define a new DHCP option from the DHCP Option Management.

DHCP Option Configuration

Figure-1

You can configure the values in which one of the predefined DHCP options. It opens an interface(Figure-1) that can configure a DHCP option from the "Configure DHCP Option" button at the right top of the DHCP > DHCP Option or from the dropdown menu of the DHCP pool list.

You can add several values in a DHCP option in the interface(Figure-1). By dragging the icon(3colon.png) in front of each value allows you can change the order of values. This order is sensitive for some DHCP options.
For example, If there are two Domain Name System (DNS) addresses, the first one is provided as the Primary DNS, and the second one is the Secondary DNS.

If you hover the mouse on a configured value, it shows a trash icon behind the list. By clicking the trash icon, you can delete a value of a DHCP option.

If you want to modify a configured value, you have to delete it and add a new value.

Item Description
DHCP Version It is the DHCP version. Choose either DHCPv4 or DHCPv6.
[Code] Name It is the name of the DHCP option. The code is the value that is specified to a DHCP option[3].
Data type It is the data type of the DHCP Option. There are several data types and
Target DHCP Pool You can globally or exclusively for a specific DHCP pool define the value of a DHCP option.
Data Value It is the value of the DHCP option, For example, if the DHCP option is the Domain Name System(6), you may input a value as "8.8.8.8".

If a DHCP option is exclusively for a specific DHCP pool, the option will be provided only to clients that request IP addresses in the specific DHCP pool.

After configuring a new value of a DHCP option from the DHCP Option menu, It shows the DHCP option like in Figure-2. Figure-2 Figure-2


DHCP Option Management

If no DHCP option exists, you can define a new DHCP option by clicking the "DHCP Option Management" button at the top right in the DHCP Option menu. If you want to modify something of the predefined DHCP options, you can also do it from this.

New DHCP Option
Item Required Description
DHCP Version Yes DHCPv4 or DHCPv6
Code Yes Input the code of a new DHCP option. the code must be numeric.
Name Yes It is the name of a new DHCP option.
Description No It is the description of a new DHCP option.
Data type Yes Choose one of them.


Predefined DHCP Option

DHCP 서버 옵션에 데이터가 이미 설정된 경우 삭제를 할 수 없습니다.

이름 필수 설명
DHCP 버전 변경 불가
코드 변경 불가
이름 DHCP 서버 옵션 이름
설명 아니오 DHCP 서버 옵션 설명
유형 DHCP 서버 옵션 유형 중 하나를 선택, 단, 이미 데이터가 있는 경우 유형 변경 불가


DHCP Option Data Types
이름 설명
IPv4 IPv4 Address
IPv6 IPv6 Address
LONG 4 바이트 정수
SHORT 2 바이트 정수
BYTE 1 바이트 정수
TEXT 문자
MIX 여러 가지 형식