Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63722

Re: How to get Mac address of ethernet port?

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 <rosuav@gmail.com>
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 <roy-B5B4DE.11290611012014@news.panix.com>
References <6a5ceb3f-021d-4acc-b618-ce53530fa2dd@googlegroups.com> <mailman.5329.1389450993.18130.python-list@python.org> <larpf5$3c1$1@dont-email.me> <roy-B5B4DE.11290611012014@news.panix.com>
Date Sun, 12 Jan 2014 08:40:01 +1100
Subject Re: How to get Mac address of ethernet port?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5336.1389476410.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sun, Jan 12, 2014 at 3:29 AM, Roy Smith <roy@panix.com> 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 <insert derogatory gesture with sound effect here>.

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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to get Mac address of ethernet port? Sam <lightaiyee@gmail.com> - 2014-01-11 06:26 -0800
  Re: How to get Mac address of ethernet port? Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2014-01-11 16:35 +0200
    Re: How to get Mac address of ethernet port? "James Harris" <james.harris.1@gmail.com> - 2014-01-11 15:54 +0000
      Re: How to get Mac address of ethernet port? Roy Smith <roy@panix.com> - 2014-01-11 11:29 -0500
        Re: How to get Mac address of ethernet port? Chris Angelico <rosuav@gmail.com> - 2014-01-12 08:40 +1100
          Re: How to get Mac address of ethernet port? Roy Smith <roy@panix.com> - 2014-01-11 16:55 -0500
            Re: How to get Mac address of ethernet port? Chris Angelico <rosuav@gmail.com> - 2014-01-12 09:08 +1100
            Re: How to get Mac address of ethernet port? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-12 11:22 -0500
  Re: How to get Mac address of ethernet port? Chris Angelico <rosuav@gmail.com> - 2014-01-12 01:38 +1100
  Re: How to get Mac address of ethernet port? Chris Angelico <rosuav@gmail.com> - 2014-01-12 01:52 +1100
  Re: How to get Mac address of ethernet port? Skip Montanaro <skip@pobox.com> - 2014-01-11 09:03 -0600
  Re: How to get Mac address of ethernet port? Michael Torrie <torriem@gmail.com> - 2014-01-11 09:34 -0700
    Re: How to get Mac address of ethernet port? Sam <lightaiyee@gmail.com> - 2014-01-11 17:25 -0800
  Re: How to get Mac address of ethernet port? William Ray Wing <wrw@mac.com> - 2014-01-13 10:42 -0500
  Re: How to get Mac address of ethernet port? Chris Angelico <rosuav@gmail.com> - 2014-01-14 03:47 +1100

csiph-web