What is an IP adress?

  • Thread starter duo17
  • 16 comments
  • 952 views
IP Address means "Internet Protocol Address." It is basically an address for your computer just "123 Mary jane Lane" would be an address for a house. If you want to find out your IP address, go to www.ipchicken.com
 
That site is some sort of fake, it gave me a 192.168 address and my IP was completely different. If I go to the command prompt and type in
IPCONFIG this shows my dial up adapters ip address, or NIC card ip address depending on your computers network configuration.
 
Originally posted by duo17
Well, what is it, and how do I find out mine?

OA

start->run->winipcfg (in 95, 98, me)

or at the command prompt type: ipconfig /all
 
You can do both on the 9x series.

The all switch just gives you a better description with the physical Mac address, gateway, dns etc.
 
Originally posted by Race Idiot
That site is some sort of fake, it gave me a 192.168 address and my IP was completely different. If I go to the command prompt and type in
IPCONFIG this shows my dial up adapters ip address, or NIC card ip address depending on your computers network configuration.

You've got a Linksys router I'm guessing. That website will only work if you aren't behind a router because they give your PC another IP address. (sort of, but not really.)
I look at IP addresses as a phone number for your PC. Some people always have the same ones, some change constantly.
 
No i'm on dial-up and I had a 62.30 address.
I have a linksys router, sitting downstairs doing sod all.
But my ISP assigns IP's according to area, because my friend just down the road with the same isp will occasionally have the same Ip that I did the previous day. Although I thought with most dial-up connections you are going to get different IP' s occasionally.
 
OK, this is how it works.

An IP address consists of four numbers, between 0 and 255, separated by periods. It works like a phone number, that is it becomes more specific from left to right. For this same reason, IP addresses must be unique.

The range doesn't actually give that many addresses, so ICANN (Internet Corporation for Assigned Names and Numbers) controls the assignation of IP addresses to organisations like ISPs, governments, schools and companies.

Your ISP will maintain a list of addresses that it owns. It may have a Class B address, which would enable it to have 255x255 clients connected at any one time. Address classes come from the addresses being divided as A.B.C.D. So a Class B address might be 137.221.X.Y, where any number between 0 and 255 in the X and Y space is free.

There are two class C address ranges which are known to be public, and anyone who has a Linksys router, or who has used Windows 2000/XP's autoconfiguration routines will have seen one of them. They are 10.0.0.x and 192.168.1.x. These addresses are strictly private, and no machines in this address space should be directly connected to the internet.

This brings us to another important concept: that of public and private addressing.
As Race Idiot has noted, web sites do not always correctly identify your machine's IP address. If you are behind a firewall, your firewall should be doing Network Address Translation. Linksys routers do this for you as well.

Basically, multiple machines connect to the internet on a single IP address. I'm at work at the moment, so I'll be advertising 193.73.183.34 as my IP address, even though my machine's address is somewhere in the 192.32.64.x range. This allows some degree of privacy, and also means that we can hook 2,000 machines to the internet on one IP address.

If you have a Linksys router, you can see all of this in your admin page. It will give you an IP address of 192.168.1.x (usually starting at 100 for the first machine, and going up), and it will negotiate an address from your ISP. If you go to a web site that tells you your address, it should report the one that your ISP has given your router, not the 192.168 address.

The last thing you should know about is the gateway and subnet mask.

The gateway is the address of the device that handles communication between devices on your LAN and devices not on your LAN. Such devices are called Routers, because they route traffic between LANs. The Subnet Mask tells your machine about the address space on your LAN. So, if you have two sites, connected by a fixed network link, you may have all the machines on site 1 as 192.32.1.x, and all the machines on site 2 as 192.32.2.x. Your subnet mask is 255.255.255.0, because you want to say that there are no restrictions on the D class addresses, but that C and higher addresses are on a separate network. In this way any request for an address other than 192.32.1.x is handled by the router.

A lot of you have already noticed that your IP address changes. This is due to you being assigned an address when you connect to the network. This is handled by a DHCP (Dynamic Host Configuration Protocol) server, which assigns addresses to machines from a pool. Race Idiot's location-proximity theory is half-correct, since ISPs will use DHCP servers at local network nodes. However, there is evidence that suggests that network cards develop an affinity with certain addresses, leading you to get the same address on a number of consecutive leases.

That's about it for IP addressing at the moment. Of course, when IP2.0 comes out, which uses much bigger addresses, then it will all change.
 
Originally posted by GilesGuthrie
Race Idiot's location-proximity theory is half-correct, since ISPs will use DHCP servers at local network nodes. However, there is evidence that suggests that network cards develop an affinity with certain addresses, leading you to get the same address on a number of consecutive leases.

Yeah I know that they will usually try to assign the same IP to the same MAC address. But can this apply to dial up connections as well?
 
Giles,

Very good explaination! I really didn't know how to explain the different classes of IP address and subnet mask schemes in an understandable fashion, but you pulled it off quite well. ;) Can't quite remember something though, is x.x.x.1 where 1 is the physical network (the wire)? If I remember right..., that seems correct.

:cheers:
 
Race Idiot: I wouldn't have thought so, because dial-up connections are so transient.

Pako: Thanks!

Yes, the final segment is the individual device. You could call it the wire if you wish though.
 
Hmm, I suppose so the odd thing is that when I do an ipconfig /all on my dial up at home it looks like the modem or the dial up device has a mac address.

Oh and thats a good explanation you got there.

Is there any info about IP 2.0?
 
All network devices have a Mac address, including Point-to-Point Protocol devices (modems). That's what the IP address binds to.
 
Originally posted by GilesGuthrie
Race Idiot: I wouldn't have thought so, because dial-up connections are so transient.

Pako: Thanks!

Yes, the final segment is the individual device. You could call it the wire if you wish though.

To further explain, x.x.x.1 is the wire or the network if you will, while x.x.x.2-254 are the devices, and x.x.x.255 is the mask (assuming a Class C network)?
 
Back