Link to home
Start Free TrialLog in
Avatar of agriboy1980
agriboy1980Flag for Isle of Man

asked on

TCPIP error 4199

Hi All,

I am facing a problem with DHCP.
In my network, the DHCP role is configured on my W2k3 server (it is also a domain controller, DNS server, Global catalog and Exchange server 2003)

All of my members server's have Fix IP configured on their local network cards.
The problem is that a few weeks ago I received some error messages at one of my members server telling me that TCPIP 4199.
I made an investigation, and it turned out that one of my user has an iPad4, and it is somehow trying to get the some IP (using DHCP) as one of my member server. I don't really understand why is that because the fix IP's (192.168.0.1 - 192.168.0.10) are configured as restricted area of DHCP and the available IP addresses are starting from 192.168.0.11 until 192.168.0.254.
What is happening with DHCP?
Can you help me pls?

P.s.: I have tryed already to change the member server's MAC address, and it won't help.

Thanks in advance.
Avatar of vverdura
vverdura

Are you certain the iPad is asking for an IP to DHCP server?
Can you put an fixed IP address on it?
Avatar of agriboy1980

ASKER

Yes, I have already did that. It receives the give address successfully, but still receiving the IP conflict error message on member server's event viewer. (TCPIP error 4199)
Furthermore I saw that both devices have the same first 2 characters in MAC address. So I was thinking maybe DHCP was confused a bit and tried to issue the same address for both of them. After I have changed one of the MAC address the problem persist.
I am clueless.
The MAC can be equal at a certain point if the NIC has the same vendor.

If you put a fixed IP in iPad how can it ask for an IP? If you put an fixed IP certainly the issue dissapears. Are you putting the IP in the correct interface?
Sorry, myabe you missunderstood me. I have fixed IP configured on the member server. The iPad is always asking for IP from DHCP, but i have already restricted a certain IP address for its MAC address and it receives it properly. The thing is that I still receive the IP confilict message on the member server's event viewer.
Why is that?
Put a fixed IP in iPad and test if the Ip conflit appears. I doubt the issue is in iPad...
Ok, will do it and post the results here.
Thx
I think you mean "IP reservation" for iPad, not IP restriction.
Have you checked that your reservation is not taken by another device on the network? Try pinging the IP when there is no iPad on the network. Better yet, have your DHCP server do the check for each lease it gives.
When you "reserve" an IP lease in DHCP server, you dictate what it should be, there is no check.
I would check DHCP server IPv4 Properties  - Advanced tab, and increase Conflict Detection Attempts from 0 to 1. And get rid of the reservation unless you serve something off your iPad (?) the less manual hacks you have the more maintainable your solution is.
I am sorry to tell you but the error is still coming
Avatar of Craig Beck
I made an investigation, and it turned out that one of my user has an iPad4, and it is somehow trying to get the some IP (using DHCP) as one of my member server.
What did you do to determine this, and how do you know for sure?
Put a reservation in DHCP for the MAC address of the iPad, then check that the reservation is in use.
Hi.
I have already put a reservation for the ipad's MAC. It is receiving the reserved ip but i still receive the TCP/IP 4199 error message. Even tried to change the server's MAC to a totally different one but it didn't help me yet.
Are you using for WiFi have you check the WiFi router to see if it is not assigning the reserved addresses?

CT
Yepp, all the wifi router's DHCP server option has been turned off at the configuration.
Try manually setting the IP addresses on the member servers, then get rid of the DHCP reservations for the servers. After you do that,  let us know what occurs. You may also need to flush out the DHCP leases. And make sure you're using the original MAC addresses for the servers.
There are only static IP addresses on servers already.
I could try to delete the reservation for the server and re-create it.
Maybe i should put the server's network card to automatic configuration using DHCP instead of fixed ip, but i think this would effect the DNS role and some other rolls in a bad way
When creating a DHCP scope it's good practice to include the whole IP range, and create exclusions for devices with static IP addresses, not MAC reservations.

This will ensure that the IP address which is assigned to a device will never be issued via DHCP, as someone could spoof the MAC address of a server (for example) in an attempt to receive it's IP address from DHCP.
So this means I should clear out everything and re-create the IP-range including the FIXED ip servers ip addresses?
ASKER CERTIFIED SOLUTION
Avatar of Craig Beck
Craig Beck
Flag of United Kingdom of Great Britain and Northern Ireland 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
Alright, will do it and post the results.
Thx
ok, I did the flush out the DHCP leases.

So now i am waiting for the error to come.
Also clear the arp cache netsh interface ip delete arpcache

CT
I have received a new error:

NetBT 4319
That error means there are hosts with the same name on the network.

http://support.microsoft.com/kb/242053
Ok, but i don't use WINS manager / role at all.
It may 'actually' be a duplicate name on the network...
How should i start the ivestigation?
Since a member server is reporting that error, disconnect it from the network. Once you've done that, try pinging by machine name, then see what IP address comes up. That will tell you what machine is in conflict.
It seems now that the above mentioned DHCP flush is helping to solve this issue.
Thanks guys.
Cheers
You could also try "Reconcile Database" operation on your DHCP server.
It was probably some corruption in the DHCP database.