Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Here's the scenario. I have a test environment configured with 2 windows 2k3 domain controllers. One of the two is handling DHCP. I've set up 2 scopes in DHCP to handle two separate subnets. On a Linux (RHEL 5) server I have dhcrelay running that is listening on Subnet 192.168.2.0 and forwarding to the DHCP server on 192.168.1.10. I have setup a windows xp machine on the 192.168.2.0 subnet that is requesting DHCP. The dhcrelay on the linux server picks up the request and forwards it to the windows dhcp server. Unfortunately though the windows DHCP server receives the packet (have done packet captures and verified this), it doesn't respond to the DHCP request from the relay.

Is anyone familiar with why the windows dhcp server wouldn't be responding to dhcp requests from the relay agent?

The configuration with the scopes is as basic as it can get due to being a test environment and I'm wanting to verify if windows would be able to work as a dhcp server in the production environment rather than a simple test environment.

Thanks, Matt.

share|improve this question
    
Forgive me if this seems dumb, but you didn't spell it out. Did you configure a scope for 192.168.2.x on the DHCP server? –  Chris S Nov 10 '10 at 1:26
    
Yeah, both scopes are configured on the DHCP server. –  Matt Delves Nov 10 '10 at 1:34
    
Are the subnet masks on the DHCP server's scope and the Relay's NIC configuration the exact same? –  Chris S Nov 10 '10 at 1:58

1 Answer 1

up vote 2 down vote accepted

What's the DHCP server using as a gateway? If its not part of the 192.168.2.x subnet (or a persitent route isn't set up), are the DHCP requests just getting forwarded to the DHCP servers gateway and then lost?

share|improve this answer
    
The fact that there is no routing between the two subnets is what's causing the issue. This was found by setting a default gateway on the Windows server and then it started sending dhcp offers. Now onto the next problem. –  Matt Delves Nov 10 '10 at 1:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.