# DHCP Server Configuration

If you are using Dynamic Host Configuration Protocol (DHCP), the DHCP server needs to be configured to provide the iSCSI Boot configurations to the iSCSI initiator. It is necessary to set up the DHCP server to specify Root Path option 17 and Host Name option 12 to respond iSCSI target information back to the iSCSI initiator. DHCP option 3, router list may be necessary, depending on the network configuration.

DHCP Root Path Option 17:

The iSCSI root path option configuration string uses the following format:

> `iscsi``:<server name or IP address>:<protocol>:<port>:<LUN>:<targetname>`

> > - Server name: DHCP server name or valid IPv4 address literal.
> >   Example: `192.168.0.20`.

> > - Protocol: Transportation protocol used by ISCSI. Default is tcp (6).
> >   No other protocols are currently supported.

> > - Port: Port number of the iSCSI. A default value of 3260 will be used if this field is left blank.

> > - LUN: LUN ID configured on iSCSI target system. Default is zero.

> > - Target name: iSCSI target name to uniquely identify an iSCSI target in IQN format.
> >   Example: `iqn.1986-03.com.intel:target1`

DHCP Host Name Option 12:

Configure option 12 with the hostname of the iSCSI initiator.

DHCP Option 3, Router List:

Configure option 3 with the gateway or Router IP address, if the iSCSI initiator and iSCSI target are on different subnets.

`Last modified on 5/26/11 3:47p Revision`