Solved

DHCP Relay Agent not setting up conections in DHCP

Posted on 2007-03-21
9
300 Views
Last Modified: 2013-12-05
When trying to set up the DHCP relay agent I do not get the 10 conections in DHCP. My RRAS is not on the same server as my DHCP. Does it need to be to work? the reason I ask is because I installed RRAS on the same server to see and the conections showed up. But I need RRAS installed on the other server not on the same one as the DHCP. Is there a way to get the DHCP relay agent to work even if the RRAS and DHCP are on diferent servers?
0
Comment
Question by:dustinwk
  • 5
  • 4
9 Comments
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18769156
The RRAS service and DHCP service do not need to be on the same server, but should be on the same network segment/subnet.
You should be able to simply right click on "DHCP relay agent" in RRAS and choose properties, add, and enter the IP address of the DHCP server.
0
 

Author Comment

by:dustinwk
ID: 18769170
Yes i have done this, however I do not get any conections in dhcp this way, but I do if rras is installed on the same server, is there something else I am missing?
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18769191
I wasn't aware of this, but it appears RRAS is still needed to assign the basic IP. The relay agent gets additional scope options, other than an IP, from the DHCP server. Assuming this is the case you need to set a "Static Address pool" in RRAS, which would fall in the same subnet as the parameters specified by the DHCP server.
http://support.microsoft.com/kb/232703
0
 

Author Comment

by:dustinwk
ID: 18769337
No that is not correct. when you set up the DHCP relay agent you should get 10 addresses in your dhcp server that will be assigned to your VPN clients they show up under dhcp leases and have the icon is diferent as well it looks like it has a small phone by it indicating that these addressed will go to vpn clients. the problem is that when I try to set it up these do not show up in dhcp. but if I set up RRAS on the same server as my dhcp, (which also has my dns server and active directory) then they do show up. I dont know why this is. thanks again rob for the links you may check this out.

http://www.isaserver.org/img/upl/vpnkitbeta2/dhcprelay.htm

note figure 22.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 77

Expert Comment

by:Rob Williams
ID: 18771378
>>"when you set up the DHCP relay agent you should get 10 addresses.....they show up under dhcp leases "
Correct.
But as I understand it, strictly based on the link I included above,  those addresses come from the RRAS static address pool not the DHCP server.
Also, seems to me they do not always show up as reserved leases until the first connection is made. Another 10 show up when the 11th simultaneous connection is established.
0
 

Author Comment

by:dustinwk
ID: 18771736
I do not believe they come from the static address pool. there are two options to select in RRAS for IP address asignment. One is DHCP and the other is the static address pool. Note figure 21 from the link I provided above. When set to DHCP if using the DHCP relay you should get your 10 addresses. I dont Know about them not showing up untill the first conection. In any case its not working as I mentioned I set it up and connected but it was not using DHCP as it should. It did give me the addresses when the RRAS was set up on the same server and the addresses showed up imediatly and before connecting. It is good to know that you will get more on the 11th conection I wondered about that.
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
ID: 18772015
I am not trying to create an argument as to how it works. Until reading the article above I had always assumed it works exactly as you do, and it would make total sense that that is the case. However, that article has me thinking otherwise.
The DHCP/Static option on the IP tab does not necessarily relate to the DHCP relay. You can use the DHCP option without the relay option and it assigns a 169.254.x.x address and works fine. Then again, that would be in keeping with it functioning as you and I would expect, in the absence of a DHCP server.
Very interested in your question. I would like to try to duplicate, but I don't have a similar network here I can do so. I will as soon as possible.
0
 

Author Comment

by:dustinwk
ID: 18794277
Well I came in to work this morning and bam! The DHCP addresses for RRAS are showing up now. It must just take quite some time for them to show up when another PC is the RRAS server vs having the RRAS on the same machine so I guess that gets this one out of the way. Thanks again Rob for all the help
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18804865
Thanks dustinwk.
I was tied up on the weekend, but did get a chance to experiment with the RRAS and DHCP relay agent addressing options. I obviously was wrong and it does function like any other DHCP relay agent and exactly as you had expected, with no need for using the static address pool, in conjunction with the relay agent. I apologize. One of the links in the article had me thinking it might be otherwise. I did notice, like you, the group of address leases did not show up in the DHCP console even after the first user connected, however forcing a refresh did make them appear instantly.
Cheers !
--Rob
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now