By default, when you install ISA Server on a DHCP relay agent, the DHCP relay agent will not respond to requests. To allow the DHCP relay agent to work, you need to create the following rules:
-
A rule to allow the DHCP request from the network in which DHCP clients are situated to the Local Host network. (The DHCP relay agent acts as a DHCP server for the DHCP clients.)
-
A rule to allow the DHCP reply from the Local Host network to the network in which DHCP clients are situated. (The DHCP relay agent acts as a DHCP server for the DHCP clients.)
-
A rule to allow the DHCP relay agent to communicate with DHCP servers, as follows:
-
Create a DHCP protocol definition.
-
Create a computer set for DHCP servers.
-
Create a rule from the Local Host network to DHCP servers.
Allow the DHCP (Request) Protocol to the Local Host Network
In this procedure, the DHCP clients are located in the Internal network. To allow the DHCP (request) protocol, do the following:
-
In the Firewall Policy node of ISA Server Management, right-click Firewall Policy, point to New, and then click Access Rule.
-
In the New Access Rule Wizard, type a name for the rule. For example: Allow DHCP Requests. Then, click Next.
-
In the Rule Action page, click Allow. Then, click Next.
-
In the Protocols page, in This rule applies to, select Selected protocols. Then, click Add.
-
In Add Protocols, in the All Protocols section, click DHCP (request). Click Add, click Close, and then click Next.
-
In the Access Rule Sources page, click Add.
-
In Add Network Entities, in the Networks section, click Internal. Click Add, click Close, and then click Next.
-
In the Access Rule Destinations page, click Add.
-
In Add Network Entities, in the Networks section, click Local Host. Click Add, click Close, and then click Next.
-
In the User Sets page, All Users is selected by default. Click Next, and then click Finish.
Allow the DHCP (Reply) Protocol from the Local Host Network
In this procedure, the DHCP clients are located in the Internal network. To allow the DHCP (reply) protocol, do the following:
-
In the Firewall Policy node of ISA Server Management, right-click Firewall Policy, point to New, and then click Access Rule.
-
In the New Access Rule Wizard, type a name for the rule. For example: Allow DHCP Replies. Then, click Next.
-
In the Rule Action page, click Allow. Then, click Next.
-
In the Protocols page, in This rule applies to, select Selected protocols. Then, click Add.
-
In Add Protocols, in the All Protocols section, click DHCP (reply). Click Add, click Close, and then click Next.
-
In the Access Rule Sources page, click Add.
-
In Add Network Entities, in the Networks section, click Local Host. Click Add, click Close, and then click Next.
-
In the Access Rule Destinations page, click Add.
-
In Add Network Entities, in the Networks section, click Internal. Click Add, click Close, and then click Next.
-
In the User Sets page, All Users is selected by default. Click Next, and then click Finish.
Create a DHCP Protocol Definition
You must create a DHCP protocol definition to allow DHCP requests and replies for the DHCP relay agent. There is a predefined DHCP reply protocol, but it only allows DHCP replies to the DHCP client port (port 68), while the DHCP relay agent uses port 67. To create the protocol definition, do the following:
-
In the Firewall Policy node of ISA Server Management, click Firewall Policy.
-
On the Toolbox tab, click Protocols.
-
On the menu, click New, and then click Protocol.
-
In the Welcome page of the New Protocol Definition Wizard, type a name for the protocol (for example DHCPRelay). Then, click Next.
-
On the Primary Connection Information page, click New.
-
In the New/Edit Protocol Connection dialog box, do the following:
-
In Protocol Type, select UDP.
-
In Direction, select Send Receive.
-
In Port Range, in From, type 67. In To, type 67.
-
Click OK, and then click Next.
-
On the Secondary Connections page, click Next, and then click Finish to complete the wizard.
-
Click Apply to apply the changes.
Create a DHCP Server Computer Set
To create a computer set containing the IP addresses of the DHCP servers, do the following:
-
In ISA Server Management, click Firewall Policy.
-
On the Toolbox tab, click Networks.
-
Click the New menu, and then click Computer Sets.
-
In the New Computer Set Rule Element dialog box, type a name for the computer set (for example, DHCP_Servers).
-
For each DHCP server that you want to add to the computer set, do the following:
-
Click Add, and then click Computer.
-
In Name, type a reference name for the DHCP server computer.
-
In Computer IP Address, type the name of the DHCP server. Then, click OK.
-
Click OK to close the New Computer Set Rule Element dialog box.
-
Click Apply to apply the changes.
Allow the DHCP Relay Agent (Local Host Network) to DHCP Servers
To allow the DHCP relay agent to communicate with the DHCP server, do the following:
-
In the Firewall Policy node of ISA Server Management, right-click Firewall Policy, point to New, and then click Access Rule.
-
In the New Access Rule Wizard, type a name for the rule (for example Allow DHCP Relay Agent). Then, click Next.
-
In the Rule Action page, click Allow. Then, click Next.
-
In the Protocols page, in This rule applies to, click Selected protocols. Then, click Add.
-
In Add Protocols, in the User-Defined section, click DHCPRelay, which is the protocol that you created earlier. Click Add, click Close, and then click Next.
-
In the Access Rule Sources page, click Add.
-
In Add Network Entities, in the Networks section, click Local Host. Click Add, click Close, and then click Next.
-
In the Access Rule Destinations page, click Add.
-
In Add Network Entities, in the Computer Sets section, click DHCP_Servers, which is the computer set that you created earlier. Click Add, click Close, and then click Next.
-
In the User Sets page, All Users is selected by default. Click Next, and then click Finish.
-
Click Apply to apply the changes.