Re: Can the net connection binding order be changed via script or
- From: Chuck <none@xxxxxxxxxxx>
- Date: 23 Jun 2005 15:38:03 -0500
On Thu, 23 Jun 2005 13:09:03 -0700, "Brad Adams"
<BradAdams@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>"Chuck" wrote:
>
>> On Thu, 23 Jun 2005 10:32:01 -0700, "Brad Adams"
>> <BradAdams@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> >Hello,
>> >
>> >Does anyone know if there is a way to use a script, WMI, netsh, GPO, etc to
>> >change a host's network connection binding order? We have a new wireless
>> >network and I want to avoid having docked laptops use the wireless connection
>> >when they are connected via wire to the LAN. I don't mind them getting an IP
>> >as long as they don't use wireless for their traffic when docked.
>> >
>> >Thanks in advance...
>>
>> Brad,
>>
>> Instead of writing a script, and having the script run when docking or undocking
>> a laptop, why not adjust the Automatic Metric to make the wired connection
>> preferred, when available?
>> <http://support.microsoft.com/?id=299540>
>Thanks a lot for the response. That would appear to take care of the problem.
>Few thoughts/questions though:
>
>-Does the metric correspond to the interface binding order? Or are these two
>different ways to accomplish the same result?
>
>-According to this article, the wireless connection, which should be 54Mbps,
>should be coming up lower than the wired connection at 100Mbs anyway.
>
>-Is there a way to view the automatically set metrics?
>
>-Is there a way to script this metric change?
>
>Thanks again!
Brad,
When you adjust the metric for an IP interface, the binding order becomes
irrelevant. The active interface with the lowest metric (highest speed) is
automatically selected.
You can view, and change, the metric value for any interface, in one of two
ways.
# Network Connections - (Interface) Properties - TCP/IP Properties - Advanced.
By default, the Automatic metric is selected, you de select Automatic metric and
enter a value of your choosing here.
# The Static Route table, that can be viewed by "route print", will display the
current metric for every interface. You can change any metric thru the netsh
command, and that can be scripted.
<http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/b2c92af5-425a-4c0b-8604-7a8c4ac497e0.mspx>
--
Cheers,
Chuck
http://nitecruzr.blogspot.com/
Paranoia is not a problem - it's a normal response from experience.
My email is AT DOT
actual address pchuck sonic net.
.
- Follow-Ups:
- Re: Can the net connection binding order be changed via script or
- From: Brad Adams
- Re: Can the net connection binding order be changed via script or
- References:
- Prev by Date: Re: Can the net connection binding order be changed via script or
- Next by Date: Re: Removing links from My Network Places
- Previous by thread: Re: Can the net connection binding order be changed via script or
- Next by thread: Re: Can the net connection binding order be changed via script or
- Index(es):
Relevant Pages
|