Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: assigning ip address from dos command

assigning ip address from dos command 12 years 9 months ago #2888

  • babarali
  • babarali's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Karma: 0
hi guys....

can anyone tell me!!...about any dos command through which we can change the ipaddress of our system :idea: ...or any remote system. :?: or is there any software which can fullfill this task.
please tell me.
waiting for ur reply :roll:
The administrator has disabled public write access.

Re: assigning ip address from dos command 12 years 9 months ago #2891

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
Nope don't think theres any way to do that at all.. the closest you could get would be to add a static arp entry for a MAC address pointing to the new IP address...

a question
why in gods name do you want to do this from DOS ???!!?!?!?!?! Remember.. DOS natively doesn't even have a TCP/IP stack.. it just borrows Windows'....

furthermore, changing the IP address of a remote system would be sorta counter-productive.. because you'd get disconnected from it...
imagine

telnet 192.168.1.10
c:\>changeip 192.168.1.20
<connection to host lost>

You'd be cutting off the branch that you're sitting on.

What exactly do you need to do, because I'm sure there's a less complicated way of working this out.
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.

Re: assigning ip address from dos command 12 years 9 months ago #2903

  • Jack
  • Jack's Avatar
  • Offline
  • Senior Member
  • Posts: 242
  • Karma: 0
Barbarali:

Like Sahrih stated Dos does not have this feature, TCP/IP was introduced with Windows 3.1 Workstation, the only command that can be ran (that I’m aware of) is Renew, this is only for DHCP.

More info: www.microsoft.com/windowsxp/home/using/p...tdoc/en/ipconfig.asp


Now if your trying to change TCP/IP from a DOS prompt or Command Line from within Windows try the “netsh” command. For further information on this command try these links from Microsoft. Please keep in mind this command is only for Windows 2K and above.

support.microsoft.com/default.aspx?scid=...P&NoWebContent=1

www.microsoft.com/windowsxp/home/using/p.../en/netsh_int_ip.asp
Jack Burgess,
Firewall.cx Staff
News Editor / Forum Moderator
www.jacksjunk.com
The administrator has disabled public write access.

Re: assigning ip address from dos command 12 years 9 months ago #2906

  • thompsg
  • thompsg's Avatar
  • Offline
  • Frequent Member
  • Posts: 53
  • Karma: 0
I found those netsh articles an interesting read. Dry but interesting.

Good find.
The administrator has disabled public write access.

Re: assigning ip address from dos command 12 years 9 months ago #2913

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
*Suddenly realises you can change an IP from the command line*
*desperately tries to delete Jacks post*
*Suddenly realises Jack is a member of the team !!*
*Howls in frustration*

Hehe no seriously, thats very useful information.. I hadn't a clue !
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.

Re: assigning ip address from dos command 12 years 9 months ago #2916

  • Jack
  • Jack's Avatar
  • Offline
  • Senior Member
  • Posts: 242
  • Karma: 0
Arg!! I hate when that happens..... :)
Jack Burgess,
Firewall.cx Staff
News Editor / Forum Moderator
www.jacksjunk.com
The administrator has disabled public write access.
Time to create page: 0.086 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup