Professional Web Applications Themes

Is different 'Ethenet address' from 'Mac Address' ? - Sun Solaris

Hi. I was trying to retrieve 'mac address' via composing small program. First, I used 'ifreq.ifr_enaddr' (<- Comment of this is '/*ethenet address*/'.) with 'iotcl' and 'CSIOCGIFCONF'. As(?) u know, I couldn't retrieve 'mac address'. Then, I used 'arpreq.arp_ha'. I could get 'mac address'. But, this code, using 'arpreq.arp_ha', is not working correctly in Linux. Ok,ok, I see. Linux is not Unix. :) here is the point. I'm so curious what is diffrence of 'ethenet address' from 'mac address'. Is different 'Ethenet address' from 'Mac Address' ? What is diffrence of 'Ethenet address' from 'Mac address'? Your kind explaination or ...

  1. #1

    Default Is different 'Ethenet address' from 'Mac Address' ?

    Hi.

    I was trying to retrieve 'mac address' via composing small program.

    First, I used 'ifreq.ifr_enaddr' (<- Comment of this is '/*ethenet
    address*/'.)
    with 'iotcl' and 'CSIOCGIFCONF'.
    As(?) u know, I couldn't retrieve 'mac address'.
    Then, I used 'arpreq.arp_ha'. I could get 'mac address'.
    But, this code, using 'arpreq.arp_ha', is not working correctly in
    Linux.
    Ok,ok, I see. Linux is not Unix. :)


    here is the point. I'm so curious what is diffrence of 'ethenet
    address' from 'mac address'.

    Is different 'Ethenet address' from 'Mac Address' ?
    What is diffrence of 'Ethenet address' from 'Mac address'?



    Your kind explaination or pointing out some useful URL will give BIG
    HELP to me.

    Thanks.
    atdda Guest

  2. #2

    Default Re: Is different 'Ethenet address' from 'Mac Address' ?

    In article <google.com>,
    atdda <com> wrote: 

    On an Ethernet network, the Ethernet address is the MAC address. On a
    token ring network, the token ring address is the MAC address. MAC address
    is a generic term that applies to any type of media, while Ethernet address
    is the term when you're talking only about Ethernet.

    --
    Barry Margolin, com
    Level(3), Woburn, MA
    *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
    Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
    Barry Guest

  3. #3

    Default Re: Is different 'Ethenet address' from 'Mac Address' ?

    Thanks for your reply, Barry.
    It's very helpful.

    I have asked to my fella.
    All of my fella talk to me as u did.

    But, why does 'ifreq.ifr_enaddr' contain another value?
    What does 'ifreq.ifr_enaddr' mean?

    (In my case 'ifreq.ifr_enaddr' contains '0:2:0:**:**:**'. but, mac
    address is '8:0:20:**:**:**'.)

    Thanks.
    atdda Guest

Similar Threads

  1. Billing Address to Shipping Address
    By Sequenzia in forum Coldfusion - Advanced Techniques
    Replies: 4
    Last Post: October 20th, 12:48 AM
  2. Attach IP address to MAC address in Airport Extreme
    By Gnarlodious in forum Mac Networking
    Replies: 6
    Last Post: January 23rd, 05:34 AM
  3. copy billing address to delivery address fields
    By khinester in forum Microsoft Access
    Replies: 4
    Last Post: August 4th, 09:01 PM
  4. Getting my IP address
    By Philip Mak in forum Ruby
    Replies: 9
    Last Post: July 13th, 12:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139