Previous Thread
Next Thread
Print Thread
Rate Thread
#8520 02/23/03 07:52 PM
Joined: Feb 2003
Posts: 8
Junior Member
OP Offline
Junior Member
Joined: Feb 2003
Posts: 8
I've been used to using the DOS winipcfg command to bring up my IP address on older Windows versons. I've recently started using XP professional, and this command doesn't work. How can I find out what my IP address is under XP?

#8521 02/23/03 07:57 PM
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
Offline
UGN Elite Poster
P
Joined: Mar 2002
Posts: 1,136
start->run->cmd and type ipconfig

#8522 02/23/03 07:58 PM
Joined: May 2002
Posts: 70
UGN Poser
Offline
UGN Poser
Joined: May 2002
Posts: 70
Ummm...Does ipconfig work?


People demand freedom of speech as a compensation for the freedom of thought which they seldom use.
#8523 02/23/03 08:09 PM
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
Offline
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
it worked for me


"It's better to burn out, than to fade away."
#8524 02/23/03 08:20 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
You have to download WinIPCFG. You can actually take winipcfg.exe from an older windows version and drop it into your c:\windows\ directory and run it as usual.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#8525 02/24/03 12:39 AM
Joined: Mar 2002
Posts: 860
Likes: 1
Der �belt�ter
Offline
Der �belt�ter
Joined: Mar 2002
Posts: 860
Likes: 1
...Or you could do it the easy way and type 'ipconfig' from a command prompt. :x

#8526 02/24/03 08:58 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
www.whatismyip.com !!!

(but yeah, ipconfig in 2k/xp for shore)


Domain Registration, Hosting, Management
http://www.dollardns.net
#8527 03/01/03 01:54 PM
Joined: Aug 2002
Posts: 68
S
Junior Member
Offline
Junior Member
S
Joined: Aug 2002
Posts: 68
use the networking control panel, that's why windows is a GUI.

#8528 03/01/03 03:39 PM
Joined: Jun 2002
Posts: 168
Member
Offline
Member
Joined: Jun 2002
Posts: 168
Just pointing out, that if you're on a network, you will essentially have two IP addresses, your internal IP on the network, which you need ipconfig to see, or your external one, that people on the internet see. www.whatismyip.com will show the external one.

#8529 03/02/03 08:11 AM
Joined: Aug 2002
Posts: 68
S
Junior Member
Offline
Junior Member
S
Joined: Aug 2002
Posts: 68
Continuation of paragons post....

That would be the router that handles your networks traffic's IP (or firewall, etc.) but basically it's the chokepoint IP. Your internal IP means nothing to the outside world, it's standard to ignore traffic to/from those IP sets in realms outside LAN's.

#8530 03/02/03 11:38 AM
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
Offline
UGN Elite Poster
P
Joined: Mar 2002
Posts: 1,136
Alright, well while we're kinda on this... How does a router work then? I've never really understood how when you make a request to a web site, the responses get routed back to your computer. Is there some part of the TCP or IP protocols that account for NAT? How does the router know which computer the packets are supposed to be routed to?

#8531 03/02/03 12:28 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Well, the best way I can think of to answer your question is to draw ya a diagram of exactly what happens when you connect to yahoo.com.

ok, here's an example where you are connecting to yahoo.com without a router...

'You ask yahoo.com to SYNchronize a connection
you -> TCP SYN packet -> yahoo.com
Source IP: 123.123.123.123
Target IP: 231.231.231.231

'yahoo.com ACKnowledges the SYN and says all is go
yahoo.com -> TCP SYN/ACK packet -> you
Source IP: 231.231.231.231
Target IP: 123.123.123.123

'you acknowledge the SYN/ACK. connection complete
you -> ACK -> yahoo.com
Source IP: 123.123.123.123
Target IP: 231.231.231.231

there's the connection sequence. understand? good. Now let's take a look how it differs when a router is thrown into the mix. Now, one thing to keep in mind. When directly connected to hte internet, our Gateway was configured by your ISP. A gateway is where a computer sends all of it's packets that don't belong in the local network (specified under the subnet mask). So if you have an IP of 192.168.1.2 and your subnet mask is 255.255.255.0... then all packets destined for a 192.168.1.x is sent directly to the computer, and everything else is sent to the Gateway. The Gateway is your access to the world. When you have a router configured at 192.168.1.1, then THAT is your Gateway. THAT is where all packets are sent from your computer that isn't on your local lan. So here's what happens when you send a connection request to yahoo.com.

key
123.123.123.123 = router external IP
192.168.1.1 = router lan IP
192.168.1.2 = your IP
231.231.231.231 = yahoo.com IP

**********

'SYN packet sent from you to the router.
192.168.1.2 -> TCP SYN -> 231.231.231.231

'router caches information in it's routing table that 192.168.1.2 is connecting to 231.231.231.231.

'SYN packet sent from router to yahoo.com
123.123.123.123 -> TCP SYN -> 231.231.231.231

**********

'SYN/ACK packet sent by yahoo.com to the router
231.231.231.231 -> TCP SYN/ACK -> 123.123.123.123

'router checks it's routing table and sees that 231.231.231.231 is an IP that 192.168.1.2 is connecting to. To keep track of multiple connections from multiple computers on the LAN to yahoo.com, keep in mind that each connection to yahoo.com requires a unique router local port. So all responses to that port that matches the stored routing information is passed through to the relevent lan computer.

'router sends packet to the lan computer
231.231.231.231 -> TCP SYN/ACK -> 192.168.1.2

***********

'you send the connection acknowledgement to the router
192.168.1.2 -> TCP ACK -> 231.231.231.231

'router sends it off to yahoo
123.123.123.123 -> TCP ACK -> 231.231.231.321


Domain Registration, Hosting, Management
http://www.dollardns.net

Link Copied to Clipboard
Member Spotlight
Phatal
Phatal
Houston, TX
Posts: 298
Joined: April 2004
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Cyrez 1
Girlie 1
unreal 1
Crime 1
Powered by UBB.threads™ PHP Forum Software 7.7.5