Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
If you tcpdump the traffic on the router, are you seeing the DHCP request packets from the client? –  Garrett Jun 25 '12 at 3:43
    
Is the W7 box on the eth1 or eth2 interface? –  Paul Jun 25 '12 at 4:07
1  
Aside: Are you really routing between MIT and Utrecht? If not, then you probably want to know about (and use) RFC 1918 private addresses, rather than misusing real public addresses. Otherwise someday you'll wonder why a site at MIT (or Utrecht) isn't loading. –  Spiff Jun 25 '12 at 6:35
    
I agree with @Spiff :D –  diegows Jun 25 '12 at 16:15

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.