Questions

how yo configure ip address With a

+
0 Votes
Locked

how yo configure ip address With a

ofir
Hi
I need to configure a Dns IP on a Lan card
that will chande with a script
like "net" command
and another script to configure it back to automatic

thank u

Ofir
  • +
    0 Votes
    ofir

    to command is
    netsh.exe
    if you want, you can configure your NIC to dynamically obtain it's DNS settings

    i will write this command
    netsh interface ip set dns "Local Area Connection" dhcp

    configure DNS addresses from the Command Prompt? You can

    netsh interface ip set dns "Local Area Connection" static 192.168.0.200

    have a nice day

    Ofir

    +
    0 Votes
    sunpraveen

    Ofir,

    Suppose, I want to setup static ip for my computer (because my ISP uses static IP), then can I use the netsh command? If so how?

    Regards,

    Praveen

    +
    0 Votes
    OldER Mycroft

    Looks like an ANSWER rather than a question.

    I suggest you begin a fresh new question so that the peers will realise that you are ASKING for help. :)

  • +
    0 Votes
    ofir

    to command is
    netsh.exe
    if you want, you can configure your NIC to dynamically obtain it's DNS settings

    i will write this command
    netsh interface ip set dns "Local Area Connection" dhcp

    configure DNS addresses from the Command Prompt? You can

    netsh interface ip set dns "Local Area Connection" static 192.168.0.200

    have a nice day

    Ofir

    +
    0 Votes
    sunpraveen

    Ofir,

    Suppose, I want to setup static ip for my computer (because my ISP uses static IP), then can I use the netsh command? If so how?

    Regards,

    Praveen

    +
    0 Votes
    OldER Mycroft

    Looks like an ANSWER rather than a question.

    I suggest you begin a fresh new question so that the peers will realise that you are ASKING for help. :)