DHCP Client Can't Find DHCP Server

Posted by leeman24 on Super User See other posts from Super User or by leeman24
Published on 2012-06-25T02:03:28Z Indexed on 2012/06/25 3:18 UTC
Read the original article Hit count: 521

Filed under:
|
|
|

I currently have 3 machines:

  1. CentOS (router) eth1 - 18.0.168.1 eth2 - 145.165.34.1

  2. Windows Server 2008 (server) 18.0.168.2

DHCP scope - 145.165.34.10 - 145.165.34.20

  1. Windows 7 (client)
    • Supposed to use DHCP

I can't get my Windows 7 client to get an address from the Windows Server 2008 DHCP server.

Every network interface can ping each other (ex. 18.0.168.2 can ping 18.0.168.1 & 145.165.34.1 and the other way around).

My Linux machine acting as the router has default IP tables. Other than this command which may or may not be right:

iptables -I INPUT -p udp -d 18.0.168.2 --dport 67:68 -j ACCEPT

I have also tried it after I flushed the IP tables.

I was looking at the dhcrelay command but it seems CentOS doesn't have it and I am not even sure how to use it.

© Super User or respective owner

Related posts about Windows

Related posts about linux