Adjust time of network route table updates?

G

Guest

I have a laptop with both a wired and wireless connection. When both
connections are plugged in, the auto-metric system for the routing table
works great. However, I run into a problem when I do the following:
- place wired and wireless networks on the same subnet
- make sure that wired interface is used while both connections are available
- send the machine to hibernate
- while the machine is hibernating, unplug the wired connection
- resume from hibernate

After performing these steps, the route table still seems to think that the
wired connection is available, even though the cable was unplugged while the
machine was hibernating. Since the wired connection is realy not available,
network traffic fails. So I'm looking for a way that I can perhaps change
the timing on when the route table updates itself (either delay the initial
table update until the system realizes that the wired connection is
unavailable, or increase the frequency of the table updates).

Thanks!
Mike
 
S

Steve Winograd [MVP]

Mike said:
I have a laptop with both a wired and wireless connection. When both
connections are plugged in, the auto-metric system for the routing table
works great. However, I run into a problem when I do the following:
- place wired and wireless networks on the same subnet
- make sure that wired interface is used while both connections are available
- send the machine to hibernate
- while the machine is hibernating, unplug the wired connection
- resume from hibernate

After performing these steps, the route table still seems to think that the
wired connection is available, even though the cable was unplugged while the
machine was hibernating. Since the wired connection is realy not available,
network traffic fails. So I'm looking for a way that I can perhaps change
the timing on when the route table updates itself (either delay the initial
table update until the system realizes that the wired connection is
unavailable, or increase the frequency of the table updates).

Thanks!
Mike

Windows doesn't like to have changes made to the system while it's
hibernating.

Unplug or disable the wired network connection before hibernating.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
G

Guest

Hi Steve,

Thanks for the reply. I tested this out and found something new -- even if
the cable is unplugged before the machine is sent to hibernate, the routing
table still shows the wired connection as available upon resume and attempts
to use it (since the metric is lower). Do you have an ideas? Is there any
documentation available on when and how the routing table updates itself?

Thanks again!
Mike
 
S

Steve Winograd [MVP]

Mike said:
Hi Steve,

Thanks for the reply. I tested this out and found something new -- even if
the cable is unplugged before the machine is sent to hibernate, the routing
table still shows the wired connection as available upon resume and attempts
to use it (since the metric is lower). Do you have an ideas? Is there any
documentation available on when and how the routing table updates itself?

Thanks again!
Mike

You're welcome, Mike. I ran a test on my computer, and you're right:
unplugging the network connection doesn't change the route table.

All I can think of is to disable the connection or use "ipconfig
/release" to release its IP address before unplugging the cable. Both
of those modify the route table immediately.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top