Reverse Engineering RET Homepage RET Members Reverse Engineering Projects Reverse Engineering Papers Reversing Challenges Reverser Tools RET Re-Search Engine Reverse Engineering Forum Reverse Engineering Links

Go Back   Reverse Engineering Team Board > Reverse Engineering Board > General Forum
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #11  
Old 02-22-2012, 02:58 AM
aladdin aladdin is offline
Senior Member
 
Join Date: Sep 2008
Posts: 66
Default

Yeah you are right. But when I manually add 10.0.83.65 with Automatic metric and 10.0.83.66 with Metric 50 then everything works fine. No error at all. But when I repeat the same thing through batch file then error occurs. The question is why?

If I can manually assign 10.0.83.65 with Automatic metric and 10.0.83.66 with Metric 50 then it must be done through batch file. There must be a way to do the same thing through batch file.

Anyways. I have assigned 10.0.83.65 with Metric 1 and 10.0.83.66 with Metric 50 via batch file and everything works fine; as you said.

Thanks.

Last edited by aladdin : 02-22-2012 at 03:01 AM.
Reply With Quote
  #12  
Old 02-22-2012, 03:32 AM
zementmischer zementmischer is offline
Member
 
Join Date: Apr 2011
Location: Europe
Posts: 43
Default

You must set 'gwmetric=automatic' if you want to use an automatic metric on your gateway. Like I said before, leaving gwmetric empty is only applicable if you set 'gateway=none'.
__________________
Real programmers don't comment their code.
If it was hard to write, it should be hard to read.
Reply With Quote
  #13  
Old 02-23-2012, 04:47 AM
aladdin aladdin is offline
Senior Member
 
Join Date: Sep 2008
Posts: 66
Default

Thanks a lot for helping me. Now everything is clear regarding netsh command line.
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump





Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.