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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP addressing question

Status
Not open for further replies.

bwarner

Technical User
Feb 27, 2002
143
Could someone clear up a question or two about TCP/IP addressing? Does each computer on the internet have a unique IP address? If this is so, what would keep a person from assigning an already used IP address to their PC? What would happen if someone did this? If I tried to ping this duplicate address, which one would I reach? Thanks.

Barry
 
"Does each computer on the internet have a unique IP address?" Yes. Computers on private networks behind routers may have duplicate addresses, however.

"If this is so, what would keep a person from assigning an already used IP address to their PC?" As a genreal rule, your ISP assigns you as many static IPs as you need, they assign them from a pool they have. If you were granted a pool of addresses directly (I have 5 Class C subnets from around 1992 I received) you would use addresses from your pool. again if you are behind a router, off the internet, you would typcially use a IP range reserved for private networks (192.168.x.x, 10.x.x.x)

"What would happen if someone did this? If I tried to ping this duplicate address, which one would I reach?" The one your routers knew about, whichever that was. potentially that may be either one or neither. On my private network, some wonderfully helpful user named his PC the same as the router in his building, just to see what happened. We tracked him down by MAC address and he has no PC now.

I tried to remain child-like, all I acheived was childish.
 
IP addresses are given out by ICANN - The Internet Corporation
for Assigned Names and Numbers.

You can find out more from
Corporate networks usually have their own IP addressing scheme - these (private) IP addresses are not directly attached to the internet: if internet access is required, a NAT (Network Address Translation) router sits between the corporate network and the internet.

A range of private IP addresses has been set aside by ICANN for this purpose: they include IPs starting 192.168.x.x and 10.x.x.x

<marc> i wonder what will happen if i press this...[pc][ul][li]please give feedback on what works / what doesn't[/li][li]need some help? how to get a better answer: faq581-3339[/li][/ul]
 
Thanks for all the quick replys - they clear up some things for me.


Barry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top