E-Mail:

Enable The DHCP Relay Agent In Windows Server 2003

In order for DHCP to be used with RAS, the DHCP Relay Agent must be configured on the RAS server. When you configure the DHCP Relay Agent, clients still receive IP addresses from the RAS server but they can use DHCPInform messages to obtain optional parameters, such as the IP addresses of WINS and DNS servers, directly from the DHCP server. The relay agent component allows the RAS server to relay the DHCPInform messages between the remote access clients and the DHCP server.

To configure DHCP to work with remote access, follow these steps:

  1. Within the Routing and Remote Access management console, right-click General under the IP Routing icon and select New Routing Protocol.

  2. In the Select Routing Protocol window, select the DHCP Relay Agent and click OK.
  3. Right-click the DHCP Relay Agent icon listed under IP routing and select New Interface. Select the network connection over which DHCP messages will be routed and click OK.
  4. Right-click the DHCP Relay Agent and select Properties. Type the IP addresses of the DHCP server or servers to which the RAS server should forward the DHCPInform requests.
  5. Right-click the interface to bring up the property window. From the property window, you can disable or enable the relaying of DHCP packets and configure the hop count and the boot threshold.

2 Comments

Dear Engineer

Subject :: Help required in Problem relating to MCSE RRAS (Relay Agent)
with due respect it is stated that i am facing the problem in Relay Agent of Routing and Remote access console sub feature. I have the course material provided by MS press and Sybex Inc but i didn’t find complete practical in that regarding Relay Agent. Kindly my answer for this question stated should be provided by MCSE experts. I would be thank ful to you.

I have 2 Question from You

Qno1 = Can DHCP assign two diffirent Subents IP address via DHCP Relay Agent such as in my Super Scope 192.168.5.0/24 and 172.16.0.0/16 subnets or i may keep single subnet in my dhcp scope still having dhcp relay agent ?

QNo.2 ……….. My Practical Problem which is described in the following can’t obtain IP from DHCP server .. why ??

MY Problem Senario ::
I have 3 PC’s for My Practical of Relay Agent.I want a PC on other subnet without having DHCP Server to forward the DHCP brodcast Request via Relay agent to the PC in its subnet to the DHCP server on the other subnet . My settings are as follow:

Server 1 : DC  Contoso.com) + DHCP Server having 2 scopes in Super Scope
e.g 1 for 172.16.x.x
2nd for 192.168.5.x
IP 172.16.4.1 255.255.0.0 ::
Gateway 172.16.4.1
DNS 172.16.4.1

Server 2 :: Relay Agent in Contoso.com but diffirent IP with 2 Lan Cards
(WAN) NIC 1 = IP 172.16.4.1 255.255.0.0
Gateway = 172.16.4.1
DNS 172.16.1.1
(LAN) NIC 2 = IP 192.168.5.3 255.255.255.0
Gateway 192.168.5.3
DNS = NIL

Client XP 1 = Connected Directly to Server 2 Via Crossover cable to its NIC 2
NIC = IP (Obtain Automatically via DHCP on the other Subnet)


Amanullah Khan
aman0999@gmail.com

SOLUTION

First of all DHCP in a domain controller is not recommended.

01. Can DHCP assign two diffirent Subents IP address via DHCP Relay Agent?

Yes DHCP can assign two different Subnets IP address via DHCP Relay Agent.

Your Configuration Problems:
DC contoso.com has an IP address of 172.16.4.1 and the NIC of Relay agent has got also the same. This is a mistake. Further more you don’t need to assign a Gate Way in the Relay Agent NIC.

NIC of WAN should be different like 172.16.4.4/16 and then the DG could be the 172.16.4.1 and the DNS 172.16.4.1.

You don’t need to specify the Default Gateway of LAN NIC as 192.168.5.3/24.

You don’t need to put your scopes into a superscope.

Configuration should be done in the following way
One important thing is that, you have to configure the DHCP relay agent correctly and bind it with proper interface.

Here is how it can be done:

01. Right click on the general node in the RRAS and choose “New Routing Protocol”
02. In the dialog box choose “DHCP relay agent” and ok
03. In the DHCP relay agent node right click and choose properties.
04. In the properties dialog box add the IP of the DHCP server and click OK button.
05. Select the “DHCP relay agent” node and in the right pane in the blank area right click and choose “New interface”
06. Add the interface that will hear the Clients DHCP discover broadcast requests press ok.

It is the proper configuration of the DHCP relay agent.

N.B.: Very special to remember, in the machine where you have installed the DHCP relay agent do not install DHCP service, ICS, NAT or DNS there.

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

Favorite - Oct 10, 2008

Scour

Download, Freeware - Oct 9, 2008

CurrPorts v1.51

Download, Freeware - Oct 6, 2008

AudioGrail v6.13.2.158

Download, Freeware - Oct 3, 2008

SniffPass v1.07

83 queries / 3.173 seconds.