Strange DHCP problem
Author
Discussion

workshy fop

Original Poster:

761 posts

297 months

Wednesday 17th May 2006
quotequote all
We have a strange DHCP problem with laptops.
They are getting 2 DHCP addresses, one for the NIC and one for the modem, however the modems are set to a static IP address.
In the DHCP console, for the same machine you can see two leases, one against the mac address of the NIC and one with the ID of "RAS". This is using up hundreds of addresses. I can delete them from DHCP but they keep coming back. IP config shows only one adapter and wireless ethernet is disabled.

Any thoughts on what to try / diagnostics?
Servers are Win 2000 SP4
Laptops XP Pro SP2

Cheers

Fop.

BliarOut

72,863 posts

269 months

Wednesday 17th May 2006
quotequote all
Can you change your RAS component to use IP addresses from a specific pool rather from your DHCP range?

workshy fop

Original Poster:

761 posts

297 months

Wednesday 17th May 2006
quotequote all
I don't think there's any way to configure RAS to do this (or anything much).
I see what you mean though, let it run up a pool of duff addresses.

BliarOut

72,863 posts

269 months

Wednesday 17th May 2006
quotequote all
1. Start the Routing and Remote Access utility. To do this, click Start, point to Programs, point to Administrative Tools, and then click Routing and Remote Access.
2. In the left pane, right-click the remote access server, and then click Properties.
3. Click the IP tab, click the static address pool in the Static address pool list, and then click Edit.
4. Type the start IP address and the end IP address in the corresponding boxes, and then click OK.
5. Click Apply, and then click OK.

malman

2,258 posts

289 months

Wednesday 17th May 2006
quotequote all
The way I read the question is that your laptops when on the lan are grabbing multiple IPs from DHCP and in the DCHP console at least 1 is listed as RAS but assigned to the laptop and 1 is assigned to the NIC as you would expect.

It sounds like you have incoming connections enabled on the laptops. This starts the routing and remote access service on the laptops. By default when you create an incoming connection to an XP machine it will use DHCP for assigning IPs (you do get the option of a static pool). When you delete the incoming connection it should stop the RRAS on the laptop. I think the incoming connection only needs to be setup in one user profile for RRAS to spin up but this isn't something I've looked at.

Not sure if you need RRAS running on XP for anything else.


Edit @ 15:15

Just checked one of our laptops (only one lsited on our DHCP server with RAS) and it had an incoming connection but set for IRDA only as a device so it must be allowing IRDA network connections with an IP from the DHCP server.





>> Edited by malman on Wednesday 17th May 15:14

workshy fop

Original Poster:

761 posts

297 months

Wednesday 17th May 2006
quotequote all
malman said:
The way I read the question is that your laptops when on the lan are grabbing multiple IPs from DHCP and in the DCHP console at least 1 is listed as RAS but assigned to the laptop and 1 is assigned to the NIC as you would expect.


Yes that's what it's doing. Got caught up on something else so haven't gone any further.
Does look like something else is grabbing an address, whether that's Irda or something else I'll look in to. Looked at the RRAS service this morning, but the bu88er won't stop.
Anyway something to look for / work on.

Cheers

Fop

workshy fop

Original Poster:

761 posts

297 months

Thursday 18th May 2006
quotequote all
Disabling the RRAS service got rid of the additional lease problem.
With this enabled, the incoming connections icon appears and this was set do DHCP even though no devices were selected.

Thanks for the pointers.