Path: csiph.com!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.101 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.80; '*S*': 0.00; 'assign': 0.07; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'macs': 0.16; 'recorded': 0.16; 'roy': 0.16; 'standby': 0.16; 'subject:port': 0.16; 'uniqueness': 0.16; 'ignore': 0.16; 'wrote:': 0.18; 'machine': 0.22; 'cc:addr:python.org': 0.22; "shouldn't": 0.24; 'typical': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'switch': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'software,': 0.31; 'end,': 0.31; 'yes.': 0.31; 'ago': 0.33; 'mac': 0.33; 'skip:d 20': 0.34; 'could': 0.34; 'connection': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'tech': 0.36; 'subject:?': 0.36; 'application': 0.37; 'so,': 0.37; 'two': 0.37; 'machines': 0.38; 'needed': 0.38; '12,': 0.39; 'worry': 0.60; 'most': 0.60; 'hope': 0.61; 'new': 0.61; 'establish': 0.61; 'address': 0.63; 'more': 0.64; 'different': 0.65; 'occur': 0.65; 'believe': 0.68; 'smith': 0.68; 'home': 0.69; 'internet': 0.71; 'connection.': 0.74; 'address,': 0.75; 'subject:get': 0.81; 'home!': 0.84; 'to:none': 0.92; 'hot': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=aHhPKTwEW3fcgmPk7y6arG86AkL/ILWYppLxshR58NE=; b=vPssZPKREt3O1EBpW2FZEyGF7ijeEqAVU/7RvnAiSlpHzxm6IceSUxSUKTJQ8R3H/r FVxzKpnZg5w7zr+RgFq87cF78h4iIY9L0LkABWgceG+7Z5upVqCS/+RoB3+RZ0iemuBT BnuwGa3YNYSoqAq0hY9nctdQjIPFuPgjH1eYkCfMssLR+6aUWX9o1lrKZzp/qAK9ATr7 8WmOyUvBT+pCJCz0wES1bi46CSvL6b7D3hBhyJfo7zwVtyCRlnt4D1vSO5nRZY+UPHZ3 b9zqdwOSUkw2zx+a3TajwdrVg+zZBAq7z2wkQxGCTQAJhggu9mxzEZQ09Ufz9ccsA95+ VgXQ== MIME-Version: 1.0 X-Received: by 10.66.129.133 with SMTP id nw5mr20228734pab.98.1389476401556; Sat, 11 Jan 2014 13:40:01 -0800 (PST) In-Reply-To: References: <6a5ceb3f-021d-4acc-b618-ce53530fa2dd@googlegroups.com> Date: Sun, 12 Jan 2014 08:40:01 +1100 Subject: Re: How to get Mac address of ethernet port? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389476410 news.xs4all.nl 2970 [2001:888:2000:d::a6]:57328 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63722 On Sun, Jan 12, 2014 at 3:29 AM, Roy Smith wrote: > If you don't believe that two machines can have the same MAC address, > look up Hot Standby Router Protocol. And if you don't believe a machine > can ignore the BIA and assign a new MAC address in software, look up > Decnet . Most people shouldn't have to worry about MAC address duplication/collision on the same subnet (I used MACs as a means of guaranteeing uniqueness among a pool of application servers, for instance), but MAC switching in software can occur in a typical home internet connection scenario. We had a connection set up a few years ago where the ISP tech recorded the source MAC into the far end, and only that MAC would work - so when I stuck in a different router, I needed to switch it to the old MAC before it could establish a connection. Stupid? Yes. Unusual? I hope so, but still more likely than coming across DECnet in a typical home! ChrisA