Extracted by Vichhaiy
Def: The DHCP Relay Agent component relays DHCP messages between DHCP clients and DHCP servers on different IP networks.
Note: You cannot use the DHCP Relay Agent component on a computer that is running the DHCP service, the network address translation (NAT) routing protocol component with automatic addressing enabled, or Internet Connection Sharing (ICS).
If you have two different networks and you don’t want to install a DHCP Server on each side you can use “DHCP Relay Agent” Service.
Here a quick tutorial:
Install “DHCP-Server” Role
2. Configure DHCP Scopes
Scope A 192.168.10.11-192.168.10.253
Scope B 192.168.11.11- 192.168.11.253
Should have two Network cards. For each network one.
Network A IP: 192.168.10.254/24
Network B IP: 192.168.11.254/24
4. Install “Remote Access” Role
5. Run “Routing and Remote Access”
6. “Configure and Enable Routing and Remote Access”
7. Choose “Custom Configuration”
8. Choose “LAN routing” and start the service
9. Install the DHCP Relay Agent
Right Click on General in IPv4 and choose “New Routing Protocol” and there you can finally choose “DHCP Relay Agent”.
10. Right Click on” DHCP Relay Agent” and choose “Properties”. There you add your DHCP Server. In this case it would be 192.168.10.10.
11. Add the Network B Interface to the “DHCP Relay Agent”.
12. You should be done. In Windows 2008 it’s possible that you need to make adjustments to your Windows Firewall.
13. You can test on your client to get an IP Adress. Run from the command console: Ipconfig /release and Ipconfig /renew.
After that you should be able to see the IP address if you type: ipconfig.