Conflict between devices connected to the same router – Understanding IP addresses

Joined
Mar 24, 2010
Messages
22
Reaction score
0
Points
1
Hi,

I have been using computers for a while now and I just realized that I don’t know something as simple as IP addresses. I’m correctly connecting my Notebook, my iPhone and a PC laptop to the same routing (wirelessly) and a few times I have seen a message in my Notebook saying that another device is already using the same IP address, I’m assuming is my iPhone but to really find this out I would like to have a better understanding as to how IP addresses are assign to this devices when connected to a router, if I’m not mistaking each device should have its own unique IP address and if this is true how in the world these two devices are interfering with each other.

Can someone help me understand how IP addresses work? Something like…

1- What is an IP address?
2- How routers communicate to clients?
3- Does the router assigns unique IP address to all devices connected to it, or it uses the device's IP to communicate?

Can someone be so kind and explain this a little bit or direct me to where I can find these basics.

Thanks a lot.
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
What you're asking can be found in the on line Wikipedia and also from several other sites that have tutorials on networking. Makes for interesting reading. Start with Wikipedia.

Regards.
 
Joined
Feb 26, 2010
Messages
2,116
Reaction score
123
Points
63
Location
Rocky Mountain High, Colorado
Your Mac's Specs
1.8 GHz i7 MBA 11" OSX 10.8.2
That wikipedia article is a harsh place to start.

For your home it depends on your setup but if your devices and router are setup for dhcp (dynamic host configuration protocol) then it works like this
Your router can assign a range of class C ip addresses - usually 192.168.(something).(something)
Your client needs to be setup for dhcp - to request ip configuration from the router
Your router assigns the ip address to the client as requested
Generally speaking - if you only have 1 router and normal clients there shouldn't be IP conflict as the router keeps track of who got assigned what number.

Usually conflict happens when you assign an ipaddress manually on the device.

There is a lot more going on behind the scenes and if you want to get into it look up OSI layers, TCP/IP, DHCP, Wifi Handshake, WPA Handshake to start.

Anyway - you must figure out where the conflict is coming from before you can start debugging. Go look at all your devices and inspect the ip address it think it has.

If you are running a wireless router - if someone is poaching, one way to poach is to assign an ip address manually and spoof your MAC address.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top