Link to home
Start Free TrialLog in
Avatar of leniyl
leniyl

asked on

Setting up Windows 2008 Server as a DHCP client

Hi there.
I have the following scenario. I'm running an internal network, as well as a public Internet cafe.
I've got a DSL router, which get assigned a dynamic IP from the ISP, using PPPoE. This router is the main DHCP and DNS server. The wireless router plugs into this router.

Then, I've got an internal network running, that I want to protect from the public users, with Windows Server 2008. The problem that I have is that if I make the server the DHCP and DNS server, the public clients (including those with wireless access) won't be able to use the Internet, unless I set them up first. That's the reason I want to keep the router as the main DHCP and DNS server.

Is there a way that I can use Windows Server 2008 as a DHCP client? The IP address for the server I've made 192.168.0.2, for the router it's 192.168.0.1.
My IP config for the server is: IP: 192.168.0.2, Subnet: 255.255.255.0, Default Gateway: 192.168.0.1, Primary DNS: 192.168.0.1

The error that I'm getting when I try to ping 192.168.0.1 (router) is: Destination not found (192.168.0.2)

Can somebody please give me some thoughts and insights please? Thanks
ASKER CERTIFIED SOLUTION
Avatar of MarcSpencer
MarcSpencer
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leniyl
leniyl

ASKER

Hi.

I've also made the server a pure DHCP client, by getting the addresses assigned automatically. It receives the corrent information, IP, subnet, gateway, DNS, etc. But when I ping the gateway (router), I get the same error: Destination not found (192.168.0.x - x being the IP of the server)
Hello,

does your server has only one or multiple NICs, what Roles are configured on the server.

I had once a similar issue where a server had multiple network cards that were by configuration in the same subnet but in fact weren't.
Avatar of leniyl

ASKER

Hi there.

The server only have 1 NIC. The only role configured is Active Directory.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leniyl

ASKER

The server is a clean install. No other software installed. Can't ping anything. Also can't ping from router or clients to server.

It seems to me like the server is using itself as the default gateway, and not the router.
Even if you have configured the wrong gateway or it is using the wrong gateway it should matter as both address 192.168.0.1 and 192.168.0.2 are on the same subnet so the gateway is not used.

The windows firewall is also disabled? I am just asking because the default settings for Windows Server 2008 firewall are much more retrictive than with past versions.
As I have experienced the oddest things myself, did you try another hardware port on your switch / router?
Can the server ping itself?
And the clients can ping the router?

Do you have access to another switch or hub that you can put between the server and the router. What type is your server nic and router?




Avatar of leniyl

ASKER

thanks for your advice.

the server can ping itself, and the clients can ping the router.

i'm going to try and change the nic on the server, maybe a diffferent cable and router port, and will report back.

thanks
Avatar of leniyl

ASKER

changed nic. still same. i've put one client and the server on one switch, without anything else connected.
put in manual addresses for both. same subnet. can't ping one another.
on server i get destination not found (192.168.0.2) - address of server. or request timed out. switches between the two.

is there something that i'm missing in the configuration? should the network work straight after a clean install, without any roles configured?
Make sure that you disable the built in firewall as this may be blocking ICMP and/or other packets from being received/sent from the server.
Avatar of leniyl

ASKER

Thanks to everyone involved.

It seems that the 2nd NIC I installed was also faulty. Working fine now after replacing NIC.