Networking Forums

Networking Forums > Computer Networking > Windows Networking > netsh disable works intermittently

Reply
Thread Tools Display Modes

netsh disable works intermittently

 
 
bic1ster@gmail.com
Guest
Posts: n/a

 
      08-18-2008, 01:39 PM
We have two Windows 2003 SP 2 boxes with two NICs (one to backbone one
to internet). There is also loopback that has a virtual ip like
192.168.1.5 for load balancing. During bootup the route print / metric
order for the loopback low a low metric, which means the box is not
available on the backbone (not pingable). So in order to get this to
work, we have to disable the loopback on shutdown with a batch file.
Then after booting the script enables the loopback.

This is the command that runs in a .cmd file:

call netsh interface set interface "LoopBack" disable
ipconfig /all >> reboot.txt

For whatever reason, sometimes it disables, sometimes it doesn't. I
tried outputting the result to a file like this call netsh interface
set interface "LoopBack" disable > disable.log. but this seemed to
create problems and also not to make it work.

We also tried to change the bind order of the loopback and it still
comes up with a low metric. We also are not allowed to add a hard
metric in the ip config.

I'd appreciate any ideas as to how to make this more robust or make it
just work 100% of the time.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interface Enable/Disable mystery using Netsh ? Vilius Windows Networking 1 10-07-2008 02:41 AM
netsh disable works intermittently bic1ster@gmail.com Windows Networking 1 06-17-2008 10:40 AM
AOL cable modem - DHCP only works intermittently Martin Underwood Broadband 5 11-15-2005 12:02 AM
I am in need of a netsh script that will disable the "Local Area Connection" interface then re-enable that same interface. Spin Windows Networking 3 11-03-2005 12:58 AM
Strange: Works, doesn't works, then works Anthony Giorgianni Wireless Internet 23 05-24-2005 02:43 AM



1 2 3 4 5 6 7 8 9 10 11