Link to home
Start Free TrialLog in
Avatar of pedro311
pedro311

asked on

Using DHCP over ICS

Hi there

i have an evironment where ICS is being used to share an internet connection between 2 windows xp computers (current modem is a usb adsl modem). I want to install a broadband modem/router, where the users will connect to the router (Netgear wireless), and the router will dial out. Im having problems removing ICS from the host machine (The router will also be the dhcp server ) because everytime i try connect the previous host machine to the router and try get an ip address, it gets stuck on 'acquiring ip address' . If it eventually gets an address, i get a 'limited or no connectivity' icon, and the ip address assigned seems to be some sort of a default 253.169.x.x (or something to that effect). Sometimes an ipconfig times out saying the dhcp server could not be contacted.
Im pretty sure ICS is causing the problem, as the address 192.168.0.1 is reserved but the DHCP portion of ICS. That would obviously need to be used by the new gateway ie the broadband router.

Ive tried numerous methods to remove ICS, including manual methods and registry hacks. nothing works. Im sure its not related to something simple like broken cables; ive tried resetiing the modem and the latest firmware - but im sure its not a problem with the modem.
Ive tried practically everything - removing the network device from the hardware profile, reinstalling drivers - cept for reinstalling the os
All in all i know its a problem with ICS previously being there and thus conflicting with the router.
Avatar of stevenlewis
stevenlewis

what os has ICS on it?
OH, OK XP
when you uncheck "share this connection, what happens?
howe about stopping the service?
Avatar of pedro311

ASKER

Yeah ive unchecked share this connection and stopped the windows firewall/ICS service.

Note that it has windows xp sp2 installed and i have the sp2 hot fix regarding limited connectivity installed.
ive also seen that article and tried the tips, no change. but keep the suggestions coming
The problem is that, in Windows, when using ICS you HAVE TO DISABLE ANY EXTERNAL DHCP SERVER. It's as simple as that! This is because ICS is also a built-in dhcp server! To avoid conflicts, it's recomended to turn off any other dhcp services in your subenetwork where ICS is running.

Cheers.
>>If it eventually gets an address, i get a 'limited or no connectivity' icon, and the ip address assigned seems to be some sort of a default 253.169.x.x
actually it's 169.254.x.x which is the APIPA addres when it can't connect to t he dhcp server (this is normal) and shows you have disabled ICS (It would show the ip of 192.168.0.1 if ICS were enabled
lets check the connectivity (assuming the router is using 192.168.0.1
set a static ip of
192.168.0.25
mask 255.255.255.0
gateway 192.168.0.1
then see if you can ping the router
hey rafael_acc

Yeah i want to remove ICS altogether. i want to use the broadband router as the new dhcp server, and its obviously conflicting with the ics (which seems impossible to remove!)
Hey stevenlewis

I set a static ip on the machine. when i try and ping the router, i get a destination host unreacheable error message.

But surely, once i disable ICS, and set the router as the dhcp server, it should get an ip address automatically assigned?

Thanks.
SOLUTION
Avatar of rafael_acc
rafael_acc
Flag of United States of America 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
turn off any firewalls (including the built in one on XP) and try again
Additionally if you was running ICS I assume you are sharing your internet connection. If you disable it, then you have to configure NAT also, besides the DHCP server.

(Sorry for the double post.)
ASKER CERTIFIED 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
rafael_acc
the router should handle NAT automatically
it depends on the router, however! Not all routers do that and you must agree with me! Therefore, I had to make that comment.

Cheers.
rafael_acc

Current setup is 2 windows Xp machines. The host machine has a usb adsl modem,
ip 192.168.0.1
mask 255.255.255.0
(assigned by ICS)
The other machine is also windows xp, and is connected to host machine via crossover cable. (but there is no issue with this machine)
Check your eventlogs on the ICS host. Do you see any errors logged? Post them in here.

Had a look through the event logs, 1 or 2 regarding dhcp, but warnings merely stating that it is assuming an address 169.254.x.x .
im going to reinstall the OS on the problem pc.
Thanks, and good luck!
See u soon, mate