# IP Address Conflict with another system...

**URL:** <https://boards.straightdope.com/t/ip-address-conflict-with-another-system/522630>\
**Category:** Factual Questions\
**Created:** [December 26, 2009, 3:52pm UTC](https://boards.straightdope.com/t/ip-address-conflict-with-another-system/522630 "2009-12-26T15:52:41Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [December 27, 2009, 8:56pm UTC](https://boards.straightdope.com/t/ip-address-conflict-with-another-system/522630/21 "2009-12-27T20:56:26Z")

</div>

> [@](#):
>
> Now for a question that honestly just occured to me. Why in the hell will my router let two people connect with the same IP? Sure seems like a damn easy thing to prevent.

It really isn’t. The router has no way of knowing that two devices are connecting with the same IP.

---

<div class="post-metadata">

**Author:** ![Zakalwe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zakalwe/32/270_2.png) [@Zakalwe](https://boards.straightdope.com/u/Zakalwe)\
**Post date:** [December 27, 2009, 9:46pm UTC](https://boards.straightdope.com/t/ip-address-conflict-with-another-system/522630/22 "2009-12-27T21:46:41Z")

</div>

> [@Rysto](#):
>
> It really isn’t. The router has no way of knowing that two devices are connecting with the same IP.

I thought the device reported its MAC address as part of the connection (the router offers a MAC filtering option, so it must get it from somewhere). Wouldn’t two different MAC addresses asking for the same IP raise a flag?

---

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [December 27, 2009, 10:16pm UTC](https://boards.straightdope.com/t/ip-address-conflict-with-another-system/522630/23 "2009-12-27T22:16:39Z")

</div>

> [@Zakalwe](#):
>
> I thought the device reported its MAC address as part of the connection (the router offers a MAC filtering option, so it must get it from somewhere). Wouldn’t two different MAC addresses asking for the same IP raise a flag?

Having two packets with different MACs but the same IP can easily happen on more complicated networks. The MAC address identifies the source and destination for the current hop; the IP address identifies the end-points\*. Here’s an example of how this could happen on a more complicated network:

```auto

                 +-----+
             +---| A |---+
+---------+ | +-----+ |
| | | +-----+  
| 2.0.0.1 |--+ | C |----> Internet
| | | +-----+
+---------+ | +-----+ |
             +---| B |----+
                 +-----+

```

In this quick diagram, the system with IP address 2.0.0.1 has two paths to get to the Internet A-\>C or B-\>C. 2.0.0.1 could choose either route and could in theory switch between them arbitrarily. This means that router C could see packets arriving from IP address 2.0.0.1 with either A’s MAC address or B’s MAC address, because the MAC address changes with each hop. Of course this kind of arrangement is very unlikely in a home environment but there’s not much benefit in enforcing a 1-to-1 MAC/IP correspondence when there are much better ways(like WPA) to prevent people from getting onto your network.

- Ignoring complicated things like NAT.

[Previous page](https://boards.straightdope.com/t/ip-address-conflict-with-another-system/522630.md?page=1)
