networking - Windows 7 - "Local Area Connection" and IP address not found on startup? -


i running application on startup needs computer's ip address. when noticed ip address not found, wrote following batch script run on startup, runs ipconfig every few seconds.

ipconfig timeout 3 ipconfig timeout 3  ipconfig timeout 3  ... 

i discovered minute, "ethernet adapter local area connection" found. ipconfig gives following result, number <32268.... 0243> registry key corresponding local area connection 1:

tunnel adapter isatap.<32268...... 0243> media state . . . . . . . . . . . . . . : media disconnected connection-specific dns suffix . :  tunnel adapter local area connection* 10: media state . . . . . . . . . . . . . . : media disconnected connection-specific dns suffix . : 

my 2 ethernet connections named "local area connection" , "local area connection 1", , "local area connection 1" disabled. after minute of ipconfig , timeout calls, "local area connection" shows correct ip address. thoughts causing delay? thanks!

i 2 suggested proposals things might cause such behavior:

     1. stp protocol running on switch:          switch computer connected might using stp protocol 802.1d introduces 50 seconds delay before allows port forward. check if switch manageable stp protocol running , confirm 802.1w (rapid stp) takes 2 seconds enable interface.       2. other cause:         if stp not cause, check utilization of switch. switches has limited forwarding capacity when exceeded starts cause delays flow passing through it. utilization can noticed looking @ activity leds on switch or accessing management interface if manageable. 

i hope comments solving issue.

regards.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -