Skip to contentSkip to conversation

DHCP request fix for Windows Server 2003

PATCH New Aras Vaichas 2 participants 4 messages Mar 25, 2008 – Apr 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DHCP request fix for Windows Server 2003

This patch fixes a problem I had with a client who was getting DHCP request retries with our network device and their DHCP server.

It turns out that their Windows Server 2003 DHCP server couldn't handle fast DHCP transactions and it just "forgets" some of them. I verified this with my own Windows Server 2003 install and a network analyser (Ethereal/Wireshark). It seems that a small, lean 200MHz embedded system is too fast for a Windows Server 2003 system running on a 2GHz+ machine. Go figure.

Adding a small (50ms) delay fixes this problem nicely and it only adds a small amount of overhead in comparison to the DHCP request timeouts and retries.

NOTE: This patch is ported from my old 1.1.3 U-Boot system. I have not retested it with 1.3.2 U-Boot against Windows Server 2003. The patch is very small and simple, so I don't think should be necessary.

I can retest this functionality if you wish, but it will require me to reinstall Windows Server and set everything up again.

Aras

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CHANGELOG
Url: http://lists.denx.de/pipermail/u-boot/attachments/20080326/35bccfcc/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-1.3.2-DHCP-delay.patch
Type: text/x-patch
Size: 1464 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080326/35bccfcc/attachment.bin

#1 lore raw

PATCH 1/1 DHCP request fix for Windows Server 2003

Quoted 14 lines · Aras Vaichas

This patch fixes a problem I had with a client who was getting DHCP request retries with our network device and their DHCP server.

It turns out that their Windows Server 2003 DHCP server couldn't handle fast DHCP transactions and it just "forgets" some of them. I verified this with my own Windows Server 2003 install and a network analyser (Ethereal/Wireshark). It seems that a small, lean 200MHz embedded system is too fast for a Windows Server 2003 system running on a 2GHz+ machine. Go figure.

Adding a small (50ms) delay fixes this problem nicely and it only adds a small amount of overhead in comparison to the DHCP request timeouts and retries.

Quoted 8 lines

NOTE: This patch is ported from my old 1.1.3 U-Boot system. I have not retested it with 1.3.2 U-Boot against Windows Server 2003. The patch is very small and simple, so I don't think should be necessary.

I can retest this functionality if you wish, but it will require me to reinstall Windows Server and set everything up again.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Applied
#2 lore raw

PATCH 1/1 DHCP request fix for Windows Server 2003

Quoted 20 lines · Aras Vaichas
Quoted 18 lines · Aras Vaichas

This patch fixes a problem I had with a client who was getting DHCP request retries with our network device and their DHCP server.

It turns out that their Windows Server 2003 DHCP server couldn't handle fast DHCP transactions and it just "forgets" some of them. I verified this with my own Windows Server 2003 install and a network analyser (Ethereal/Wireshark). It seems that a small, lean 200MHz embedded system is too fast for a Windows Server 2003 system running on a 2GHz+ machine. Go figure.

Adding a small (50ms) delay fixes this problem nicely and it only adds a small amount of overhead in comparison to the DHCP request timeouts and retries.

NOTE: This patch is ported from my old 1.1.3 U-Boot system. I have not retested it with 1.3.2 U-Boot against Windows Server 2003. The patch is very small and simple, so I don't think should be necessary.

Quoted 8 lines
Quoted 5 lines

I can retest this functionality if you wish, but it will require me to reinstall Windows Server and set everything up again.

Applied to net tree. In the future, please post patch inline.

thanks,
Ben

#3 lore raw

PATCH 1/1 DHCP request fix for Windows Server 2003

Quoted 1 line · Ben Warren

Applied to net tree. In the future, please post patch inline.

Yes, I will do that. I've heard that Thunderbird isn't good for posting patches and now I see why.

Aras

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
______________________________________________________________________