Question:

What are batch files or scripts for conifiguring a router to a specific IP address??

by  |  earlier

0 LIKES UnLike

I want to configure my router to have the IP address of 192.168.1.10 by creating a script or batch file in DOS can someone help me??

P>S dont say you can do this manually via right click and properties blah blah blah i need to batch files or scripts to run from DOS. Thankyou

 Tags:

   Report

2 ANSWERS


  1. okay do this

    as i dunno which router you are having and which routing tabel and configuration it follows

    goto Command prompt

    type

    netsh/?  

    to get all commands/switches to be used with netsh

    type netsh dump

    to get config files

    you can enable dhcp by using pushd routing ip autodhcp

    play with all commands and you can do wonders..make bacth and run all commands


  2. You can NOT do this i a script. You need to set it in the lan section of the router configuration. You will also need to set its' dhcp manually for it to work in the correct range.

    Netsh only works on pcs, not routers.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions