Question:
DHCP network problem?
2006-09-22 04:24:12 UTC
i am using DHCP network on windows xp pro sp2 desktop pc .its 915 chip set (MSI) ,3ghz 1 gb ram, the prob is when i plug in my network cable into my onboard realtek (8139/8110)10/100/1000 giga lan n/w card it starts acquiring address and takes more than 45 seconds to obtain the ip address .after that its working ok again when i plug out and plug in prob starts.i changed link speed for n/w card and checked.cable checked.os formated and reloaded ,virus checked,its working on all other pc only my pc and 10 otherpc with the same config are haveing this prob.
Five answers:
le_longgunr
2006-09-22 04:33:15 UTC
why are you unplugging your network cable? once it gets assigned an IP address via DHCP leave it connected! the delay might be attributed to network load and/or ISP traffic.
TelephoneMan
2006-09-22 12:30:53 UTC
You're probably connected to a switch running the spanning tree protocol. Spanning tree is used to eliminate loops in switched networks - very very bad things indeed.



Spanning tree causes a switch port to go into 'listening' mode when the port goes active. In this mode, the switch port cannot transmit any data, it must listen to traffic being received to watch for bridge protocol data units, or BPDU's. BPDU's are the packets Spanning tree (STP) sends around the network to find loops. Generally, the port is in this learning state for a time equivalent to 3x the Hello Timer. Most switches default the Hello Timer to 2-5 seconds.



Once the listening period is completed, the port is placed into 'learning mode' for an addition 3x Hello Timer period. In this mode, the switch is populating it's forwarding table with any mac addresses seen on the port so that it knows where to forward traffic.



Only after this learning mode is completed does the port drop into 'forwarding' mode. This is the first point in which the switch may actually transmit any data out of the port.



STP is known to cause problems in which DHCP assignments take awhile, or fail all together. Many switch vendors have a way to disable STP on a port specific basis.



In Cisco's world, this function is called Portfast. Other vendors use some variation of 'spanning-tree disable' in the port config to disable spanning tree.
André C
2006-09-22 11:28:00 UTC
So why dont you set the computer for a static ip address (manually) and forget about the dhcp problem
hlsj_99
2006-09-22 14:54:34 UTC
Are your pc and ath other 10 with the problem on the same switch? If this is true it may be the area of the problem
realdan
2006-09-22 12:06:59 UTC
you said

"and takes more than 45 seconds to obtain the ip address .after that its working ok again"



Then whats the problem? bro


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...