Difference between revisions of "DHCP Option configuration"

 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
=== DHCP > DHCP 서버 옵션 ===
+
=== DHCP > DHCP Option ===
==== DHCP 서버 옵션 추가 ====
+
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."
  
[[File:dhcp_server_option_edit.png|thumb|300px|DHCP 서버옵션]]
+
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.
DHCP 서버 옵션은 DNS 서버, NTP 서버와 같이 IP 주소 의외의 추가 정보를 의미합니다.<br>
 
이 정보는 특정 범위 혹은 전체 범위 단위로 적용 할 수 있습니다.<br>
 
DHCP 서버 옵션을 추가 할 수 있는 방법은 다음과 같이 두 가지 방법이 있습니다.<br>
 
1. 특정 범위에서 [[File:dhcp_menu_icon.PNG|70px|메뉴 아이콘]]의 세 번째 아이콘을 클릭 후 "DHCP 서버 옵션 등록"을 클릭<br>
 
2. DHCP > DHCP 서버 옵션 메뉴를 통해 생성<br>
 
  
DHCP 서버 옵션을 등록 할 경우 "대상 DHCP 범위"를 모든 범위로 선택 할 경우 그 옵션은 모든 범위에 적용되어 그 옵션을 요청한 모든 클라이언트에 제공되며 특정 범위를 선택 할 경우 그 범위에서 임대 요청한 클라이언트에만 전송합니다.<br>
+
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 there is no DHCP option to set, you can define a new DHCP option from the DHCP Option Definition.
하나의 DHCP 서버 옵션에 2개 이상의 값이 추가될 수 있는데 이 값의 순서를 변경하려면 옵션 값 앞에 있는 [[File:3colon.png|25px]] 아이콘을 드래그하면 순서를 변경 할 수 있습니다.<br>
 
Domain Name Servers인 경우 값 순서에 따라 기본 DNS/보조 DNS가 결정됩니다.<br>
 
[[File:dhcp_option_drag.png|500px]]
 
<br><br>
 
  
 +
==== DHCP Option Configuration ====
 +
[[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.
  
==== DHCP 서버 옵션 관리 ====
 
클라이언트에 제공할 DHCP 서버 옵션 중 미리 정의된 옵션과 새로운 옵션을 정의하기 위한 메뉴입니다.<br>
 
===== 새 옵션 =====
 
 
{| class="wikitable"
 
{| class="wikitable"
! 이름 !! 필수 !! 설명
+
! style='width:150px' | Item !! Description
 
|-
 
|-
| DHCP 버전 || 예 || DHCPv4 또는 DHCPv6
+
| DHCP Version || It is the DHCP version. Choose either DHCPv4 or DHCPv6.
 
|-
 
|-
| 코드 || 예 || 정수형 DHCP 서버 옵션 코드
+
| [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>.
 
|-
 
|-
| 이름 || 예 || DHCP 서버 옵션 이름
+
| Data type || It is the data type of the DHCP Option. There are several data types and
 
|-
 
|-
| 설명 || 아니오 || DHCP 서버 옵션 설명
+
| Target DHCP Pool || A DHCP option can be configured globally(All DHCP Pool) or exclusively for a specific DHCP pool.
 
|-
 
|-
| 유형 || 예 || DHCP 서버 옵션 유형 중 하나를 선택
+
| 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 exclusive 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.
 +
[[File:dhcp_option_drag_eng.png|880px|Figure-2]]
 +
'''Figure-2'''
 +
 +
==== DHCP Option Definition ====
 +
If no DHCP option exists, you can define a new DHCP option by clicking the "Define DHCP Option" button at the top right in the DHCP Option menu. You can not only modify something of the predefined DHCP options but also delete one. However,
 +
{{note|Note that if a DHCP option has a value, you can't delete the option. In other words, you must delete all values in a DHCP option before deleting the option.}}
  
===== 기존 옵션<ref>DHCP 서버 옵션에 데이터가 이미 설정된 경우 삭제를 할 수 없습니다.</ref> =====
+
===== New DHCP Option =====
 
{| class="wikitable"
 
{| class="wikitable"
! 이름 !! 필수 !! 설명
+
! style='width:150px' | Item !! Required !! Description
 
|-
 
|-
| DHCP 버전 || || 변경 불가
+
| DHCP Version || Yes || DHCPv4 or DHCPv6
 
|-
 
|-
| 코드 || || 변경 불가
+
| 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.
 
|}
 
|}
  
 +
===== Predefined DHCP Option =====
 +
Some variables such as Name, Description, can be changed.
  
===== DHCP 서버 옵션 유형 =====
 
 
{| class="wikitable"
 
{| class="wikitable"
! 이름 !! 설명
+
! style='width:150px' | Item !! Updatable
 
|-
 
|-
| IPv4 || IPv4 Address
+
| DHCP Version || No
 
|-
 
|-
| IPv6 || IPv6 Address
+
| Code || No
 
|-
 
|-
| LONG || 4 바이트 정수
+
| Name || Yes
 
|-
 
|-
| SHORT || 2 바이트 정수
+
| Description || Yes
 
|-
 
|-
| BYTE || 1 바이트 정수
+
| Data type || Yes
 +
|}
 +
 
 +
 
 +
==== DHCP Option Data Types ====
 +
{| class="wikitable"
 +
! Data Type !! Description
 +
|-
 +
| IPv4 || IPv4 Address(e.g, 8.8.8.8)
 +
|-
 +
| IPv6 || IPv6 Address(e.g, 2001:4860:4860::8888)
 
|-
 
|-
| TEXT || 문자
+
| LONG || 32-bit unsigned integer
 
|-
 
|-
| MIX || 여러 가지 형식
+
| SHORT || 16-bit unsigned integer
 +
|-
 +
| BYTE || 8-bit unsigned integer
 +
|-
 +
| TEXT || ASCII text strings
 +
|-
 +
| MIX || It is used to define a piece of DHCPv6 Vendor-specific information that may have multiple types.
 
|-
 
|-
 
|}
 
|}
<br><hr>
+
 
 +
=== References ===

Latest revision as of 14:37, 14 May 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 there is no DHCP option to set, you can define a new DHCP option from the DHCP Option Definition.

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 A DHCP option can be configured globally(All DHCP Pool) or exclusively for a specific DHCP pool.
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 exclusive 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 Definition

If no DHCP option exists, you can define a new DHCP option by clicking the "Define DHCP Option" button at the top right in the DHCP Option menu. You can not only modify something of the predefined DHCP options but also delete one. However,

Note that if a DHCP option has a value, you can't delete the option. In other words, you must delete all values in a DHCP option before deleting the option.

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

Some variables such as Name, Description, can be changed.

Item Updatable
DHCP Version No
Code No
Name Yes
Description Yes
Data type Yes


DHCP Option Data Types

Data Type Description
IPv4 IPv4 Address(e.g, 8.8.8.8)
IPv6 IPv6 Address(e.g, 2001:4860:4860::8888)
LONG 32-bit unsigned integer
SHORT 16-bit unsigned integer
BYTE 8-bit unsigned integer
TEXT ASCII text strings
MIX It is used to define a piece of DHCPv6 Vendor-specific information that may have multiple types.

References