Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting IP address from an NT TCP\IP Boot Disk

Status
Not open for further replies.

purplebroom

IS-IT--Management
Jul 12, 2000
23
GB
Hi guys

Does anyone know of a command line ipconfig type tool (command line)that will allow me to display the IP address given by the dhcp server. I am using a windows 95 (DOS Mode)boot disk to load network drivers and TCP/IP DHCP to get an IP address, it would be nice to add a line to the batch file to say your IP address is ..... but how do I query what it is....

Any help greatly appreciated

PurpleBroom
 
What tcp/ip stack are you using? If you have the full version of the stack (chances are you don't if booting from a disk) the stack should have some diag tools that should include a DOS version.

david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
I dont think so....

Im using TCPTSR.exe and TinyRFC.exe, on boot it displays Microsoft TCP/IP v1.0a,

Any help??

PurpleBroom
 
I am not familiure with those stacks (sorry) since it sounds like a small program, try doing this.....

from the DOS prompt type TCPTSR.exe /? or TinyRFC.exe /? This might give you additional switches that you can use to display ip address information when the system obtains an IP Address, if it does contain a switch that displays the IP Address you can simply add a pause statement into the Autoexec.bat when the command runs.
david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
If this is a NT wkstation you should be able to use the net config wksta to get the IP and MAC Learn something everyday or you wasted a day of your life.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top