Re: What's gonna happen if two clients in the same LAN have the same MAC address?

From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 03/05/05


Date: Sat, 5 Mar 2005 12:02:42 -0700

Hub just makes one machine seeing the conflict more likely
as all packets route to all ports of hub, unlike switch.
Hang could be due to being in a syncronous state waiting
on response that does not happen, but that sounds like bad
software design. ? Perhaps bad packet (aimed for the other)
was accepted and threw handler into tight failure/retry state.
Keep in mind the you are dealing with things that run in
the kernel state and can preempt you from seeing activity
at user mode.
To see what actually happened you would need to have
info on the actual packet stream (capture) and debugger
hooked up so you could interrupt and examine the "hung"
box.

-- 
Roger
"ZC Wong" <zcwong@acm.org> wrote in message
news:eWjoUyaIFHA.2736@TK2MSFTNGP09.phx.gbl...
> Roger Abell wrote:
> > The short answer is that things do not work correctly.
> >
> > Since packet flow in the local network is done using the
> > MAC addresses the switches/routers will be choosing
> > which route a packet takes based on the client it has last
> > heard from/believed (if there is a routing conflict between
> > the two machines, as would be so in fully switched setup).
> > That DHCP will have given out the same IP to the two is
> > a further complication, and also indicates the two will be
> > on the same network segment.  Both clients will be listening
> > for packets addressed to the MAC, and most likely one will
> > see them as fine while the other will not see the sequencing
> > as valid.  Things will happen like one client appearing to
> > work outgoing but not getting any response (like ping doing
> > a timeout when pinging the default gateway IP).
> > With both on the same segment the machines can notice one
> > another, even on a fully switched network due to broadcasts.
> > When the machines see there is a conflict, depending on version
> > of Windows, they give a popup and/or write an event log msg.
>
> Thanks for your reply.
>
> I've just tried in a switch based network, and my Windows Server 2003
> hangs after conflict, but I wonder what actually happened. I guess if
> there are two machines with the same MAC then the switch got to keep
> updating its port-MAC mapping table upon client's request? But how did
> the crash happen on my machine?
>
> By the way, will it be a problem of receiving extra packets if those
> machines are connected to the same hub instead of a switch?


Relevant Pages

  • Re: Whats gonna happen if two clients in the same LAN have the same MAC address?
    ... > which route a packet takes based on the client it has last ... > the two machines, as would be so in fully switched setup). ... > on the same network segment. ... I've just tried in a switch based network, ...
    (microsoft.public.windows.server.security)
  • Re: Mathematics and Cryptography
    ... the idea is to view communicating machines ... dynamical systems that exchange coupling information alongside the ... reseeded from packet properties such as checksums. ... those goals are obtained and how and why they might sometimes fail. ...
    (sci.crypt)
  • Re: What is Ethernet doing when we are sleeping?
    ... > Michel Hostettler wrote: ... being accessed shouldn't show any network activity. ... modem and several machines hooked to a switch/hub. ... switch doesn't report *any* traffic when I'm not using the Net at large ...
    (comp.os.linux.misc)
  • Re: What is Ethernet doing when we are sleeping?
    ... > Michel Hostettler wrote: ... being accessed shouldn't show any network activity. ... modem and several machines hooked to a switch/hub. ... switch doesn't report *any* traffic when I'm not using the Net at large ...
    (comp.os.linux.misc)
  • Re: Saw 10.4.1 Running On a PC Laptop Today
    ... People would no longer differentiate between Macs and PCs and most would just stick with the Windows OS that came with their box. ... Apple would no longer be innovative as it now and eventually be marginalized out of business. ... The fact is, Windows users use Windows NOT because "it works, and that's all that counts", but because it is the ONLY real game in town for Intel machines, and because Apples are JUST TOO EXPENSIVE for the common man and corporations to embrace that paradigm. ... most Windows users would rather switch to OSX than continue to put up with Microsoft's machinations in the computer world. ...
    (comp.sys.mac.advocacy)