PDA

View Full Version : DHCP relay agent


satish_halemani
10-01-2002, 12:05 PM
i am having a network with 2 different subnets.on the first subnet i have installed a DHCP server to automatically assign ip addresses to clients on both the subnets.i have created 2 scopes in the DHCP server with the ip addresses as below

scope1 - 192.168.1.10 to 192.168.1.40 with subnet mask of 255.255.255.0
scope2 - 192.168.2.10 to 192.168.2.40 with subnet mask of 255.255.255.0

The DHCP server's ip address is 192.168.1.1.
scope1 is for first subnet &
scope2 is for second subnet.

the clients are set to get ip addresses automatically on both subnets.clients on the first subnet(192.168.1.10 to 192.168.1.40) are getting the ip addresses correctly.now i want the clients on the second subnet(192.168.2.10 to 192.168.2.40)to get the ip addresses automatically from the DHCP server present on the first subnet.since i am not using a router to connect both the subnets i want to use multihomed windows 2000 server to connect both of them.in this computer i am using 2 network cards.i want to use the DHCP relay agent on the second subnet so that the clients on the second subnet get the ip addresses automatically from the DHCP server present on the first subnet.
so would anyone please suggest me as to how to configure the DHCP relay agent on this multihomed windows 2000 server.also when i start to configure the Routing & Remote Access Server in order to install DHCP relay agent 5 options appear(internet connection server,remote access server,VPN server,network router,manualyy configured server)and i don't know which one should i choose.
also i need to know if in case i was using a ROUTER(not a rfc 2131 compliant)to connect the 2 subnets at that time how should i install DHCP relay agent.please help me.:confused:

Ghost_Hacker
10-02-2002, 10:54 AM
Relaying is not needed in your case since the DHCP server is already connected to the networks it will be providing leases to and , I assume,IP routing is enabled. (remember that both network interfaces must have static IP addresses assigned that are correct for the subnet they connect to. If this is not done then the DHCP service will not bind to that interface.)


Look here for details :

DHCP MULTIHOMED (http://www.microsoft.com/windows2000/en/server/help/sag_DHCP_imp_MultihomedServers.htm)



If your router doesn't support bootp relaying then you will need to install the DHCP relay agent on a server that is connected to that subnet. The dhcp relay agent will "proxy" DHCP request to the DHCP server on the other side of the router.



Look here for details:

DHCP RELAY AGENT (http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/windows2000/en/server/help/sag_RRAS_intro_dhcp.htm)


BASIC DHCP RELAY AGENT INFO (http://www.swynk.com/friends/shinder/dhcp_relay.asp)



Good Luck :)