-
May 29th, 2002, 01:17 PM
#1
Registered User
How to Get IP Address from DOS Machine
Hello. Does anyone know what command I can use to get an IP address off of a DOS machine? Thanks!!
-
May 29th, 2002, 04:17 PM
#2
Registered User
Typing IPCONFIG at the dos prompt should get you the IP/Subnet/Gateway information if its been set correctly.
-
March 2nd, 2004, 02:15 PM
#3
What Archer said or if you're using Win95 type WINIPCFG
Originally Posted by SCHTUDE
Hello. Does anyone know what command I can use to get an IP address off of a DOS machine? Thanks!!
-
March 2nd, 2004, 04:45 PM
#4
Registered User
Originally Posted by TSSTSS
What Archer said or if you're using Win95 type WINIPCFG
Well, if he hadn't figured it out in two years, I don't think your input is going to help.
-
March 3rd, 2004, 01:46 PM
#5
Registered User
I don't know that ipconfig and winipcfg were included in DOS. I think the route command was but I can't recall for certain.
Try route print (i.e. C:\>route print)
The IP address with a 32 bit netmask (255.255.255.255) that uses 127.0.0.1 as it's gateway is your IP address.
If it's true that wherever you go, there you are: how come so many people look lost?
-
March 3rd, 2004, 02:20 PM
#6
Registered User
I looked into some lists of DOS 6.22 commands and utilities, didn't see route listed. Thinking back (way back) I seem to recall we had to enter the TCP/IP details in a cfg file. I think it was called NET.CFG. That was for DOS PCs running Netware. I can't recall for certain though.
Since DOS didn't have any native networking, you'd have to have some additional software running. That software should have some method of setting and verifying your TCP/IP protocol stack details.
netstat -r will give you your routing table as well. Really depends on what software you're running though. If the PC in question is Win95 or later, you can use WINIPCFG, IPCONFIG, or ROUTE. If not we'd need to know more about what software you're running.
If it's true that wherever you go, there you are: how come so many people look lost?
-
March 3rd, 2004, 07:40 PM
#7
Registered User
Originally Posted by cisco2
...netstat -r will give you your routing table as well. Really depends on what software you're running though...
The last column listed when running that command will let you know what IP(s) the system is using.
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. -Douglas Adams
-
March 8th, 2004, 09:42 AM
#8
Driver Terrier
Never, ever approach a computer saying or even thinking "I will just do this quickly."
-
July 13th, 2004, 11:39 PM
#9
simple
type in ipconfig then hit enter thats how I get my ip
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks