How to map MAC address to Logical name

Hi all:
Is there any command to get the logical NIC name according to MAC address?
The 'ifconfig -a' command only list the network information for these plumbed network card.
But how to get the logical name for these unplumbed network cards if I know the MAC address?
Thanks a lots!

Hi both, Thanks!
I have tried to use "prtconf -v > output_file" and search under /dev and /devices method. It couldn't find the unplumbing network name.
Is there any other suggestion?
And also I think I should describle more clear about my question.
I want to configure IPMP group automatically by scripts after OS (spac system)installed. For the script, only the MAC addresses(which network card is not unplumbed) are passed as parameter for IPMP group setting. You know for IPMP setting. it needs to written setting in /etc/hostname.<interfacename>.
So I need to map the MAC address(which is not unplumbed) to logical name(interface name).
how to do this?
I wonder for the "ifconfig -a" command:
When I use "ifconfig -a" command in Beign script, which is called before OS Jumpstart installation. It works to find out all network interface and MAC address.
See below script:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
probe_interfaces()
SI_INT=`ifconfig -a|awk -F: '/^[^.lo.]/ && /^[a-zA-Z]/{print $1;}'`
SI_NUMINT=`ifconfig -a|awk -F: 'BEGIN{num=0;}/^[^.lo.]/ && /^[a-zA-Z]/{num++;}END{print num;}'`
export SI_INT
export SI_NUMINT
probe_ethers()
SI_ETHERS=`ifconfig -a|grep ether|awk ' { print $2 } '`
export SI_ETHERS
And the result of executing in Begin script , see below:
Ethernet interfaces detected:( I got all these interface name and MAC address)
bge0
bge1
bge2
bge3
ce0
ce1
MAC addresses:
0:3:ba:dd:de:4f
0:3:ba:dd:de:50
0:3:ba:dd:de:51
0:3:ba:dd:de:52
0:3:ba:d9:eb:f7
0:3:ba:d9:eb:f8
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I only configure one network card on this OS. But after the OS installed, the "ifconfig -a" doesn't work to find all these network interface. It is only show the configured network interface.
I don't know why the behaviors of "ifconfig -a" command are different between before OS installed and after OS installed.
Thanks!

Similar Messages

  • How to check MAC address from host from local network

    Hello,
    I must save information about my network enviroment, at some periods of time (IP, Host Name, MAC Address, and later some information from SNMP). I have IP addresses of all devices. Could any one have an idea how to check MAC address. In java.net.* I didn't find anythink about my problem.
    Please give my an answer, if you konow any solution.
    Marcin Kowalski

    hi !
    I've typed ipconfig on my PC which has windows2000 pro. as the OS!!
    but i couldn't get th line you've mentioned "Physical Address" !!
    what could be wrong .. ?!! hope you could help!!
    thanks!!
    C:\>ipconfig
    Windows 2000 IP Configuration
    Ethernet adapter
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 10.130.128.210
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.130.128.1

  • How to block mac address in 2800 router

    sir
    how to block mac addresses in cisco 2800 router 

    Hi,
    To block mac addresses you can simply create Mac based ACLs which ranges between 
    700 to 799
    Example:
    access-list 700 deny xxxx.xxxx.xxxx.xxxx
    access-list 700 permit yyyy.yyyy.yyyy.yyyy
    now you can apply it on interface:
    int f0/0
    access-group 700 in 
    exit
    Regards,
    Rahul Chhabra
    Network Engineer
    Spooster IT Services

  • How to see mac address in IPS 4240 ???

    Hi all,
    How to see mac-address of inline-vlan-pair ?  and how to see mac-address of management interface in IPS ?
    Regards,
    Kiran

    Hello Kiran,
    The inline-vlan-pair itself is tied to a particular interface. So you're really asking for the MAC address of the interface associated with the inline-vlan-pair.
    The MAC address of sensing ports will be added to a "show interfaces" via CSCse84414. You can currently view the MAC address of sensing interfaces by doing an "ifconfig -a" from the service account.
    Thank you,
    Blayne Dreier
    Cisco TAC IDS Team
    **Please check out our Podcast**
    TAC Security Show: http://www.cisco.com/go/tacsecuritypodcast

  • How to get MAC address from IP address in LAN

    Hi all,
    How to get MAC address from IP address in LAN (windows or any OS), I would have all IP addresses of my LAN, so I would like to know all MAC address.
    Code examples are highly appreciated.
    Thanks & Regards,
    abel...

    abel wrote:
    Yeah that is only working for local system, but how to get remote system's MAC ..?
    Thanks for quick reply ...
    Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
    As a curious aside how did you manage to get the list of IPs?

  • How to find mac address of a client computer in specified time and port in WIFI WCS Control system

    how to find mac address of a client computer in specified time and port in WIFI WCS Control system

    WCS record-keeping is very crude.  
    You'll get the time/date when the client authenticated.  You'll get the local inside address but you'll need the router to translate the outside IP address and the port.  
    You will need a proxy server to determine what sites did a wireless client goes.

  • How to change mac address on mac

    i'm sry i'm not sure if this is the right section or not but yeah.... nyways does anyone know how to change mac address on a macbook?

    If you have not updated your OS you can use the following command.
    sudo ifconfig enX ether xx:xx:xx:xx:xx:xx
    You will need to replace the X with your network number and the xx:xx:xx:xx:xx:xx with the mac you want to have.
    Then run
    sudo ifconfig enX down
    sudo ifconfig enX up
    This change will last till your next reboot.
    cheers
    NOTE: This is not working in 10.5

  • How to change mac address on time capsule

    Hi there,
    How to change mac address on time capsule?

    There are routers that allow you to create/clone a mac address to whatever you like. Since many companies use the mac address to 'register' a unit connected to it's system, you usually just have to let them know you've changed your router and they will reset your system to accept connections from the new device.

  • How to change mac address on wrt54g router

    How to change mac address on wrt54g router?

    are u sure u wanna change the MAC of the WRT54G ?  it's not possible....you can however clone the MAC address of your PC onto the router...depending on your ISP.

  • How to map IntegrationProcress to ALE Logical System Name

    Hy,
    i'm triying to send an Idoc from my IntegrationProcess MY_IP
    to out Backend SAP System XX1.
    Konfiguration has been done with an valid ReceiverAgreement.
    But neverless i got the following error:
    "Sender Service MY_IP cannot be mapped to an ALE Logical System"
    1. Where do i specify this Mapping? (I tried Header Mapping ReceiverAgreement
      without success)
    2. In my message mapping EDI_DC40 has mandatory fields like RCVPRN.
        But hardcoding the Receiver here cannot be the solution. Do the value
    i map there do have any effect at all?
    Thanks in advance.
    Gunnar

    Hello Nilesh,
    you're right - now it works. I just defined any LS and SID. No the IDoc runs into the system, but cannot be processed since the originator is unknown. But this can be solved now with SALE and we20.
    To be honest: there are so many blogs concernig this case. But i didn't find any which explains why the behavior is different when you send an IDoc from an Integration Process and what happens behind the scene. In the documentation
    i didn't find anything at all...
    Thank you very much.
    Gunnar

  • How to get MAC address of a phone

    Hi,
    I am able to retrieve phone details by sending Soap request to RisPort. But the response doesn't have MAC address of the phone. Can any one please let me know how to get this information.
    Here is my Soap request
    <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body><SelectCmDevice soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><CmSelectionCriteria href="#id0"/><StateInfo xsi:type="xsd:string"/></SelectCmDevice><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1:CmSelectionCriteria" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="tns:CmSelectionCriteria"><maxReturnedDevices xsi:type="xsd:unsignedInt">10</maxReturnedDevices><Class xsi:type="soapenc:string">Phone</Class><Model xsi:type="xsd:unsignedInt">255</Model><nodeName xsi:type="soapenc:string"/><selectBy xsi:type="soapenc:string">Name</selectBy><selectItems xsi:type="soapenc:Array" xsi:nil="true"/><status xsi:type="soapenc:string"/></multiRef></soapenv:Body></soapenv:Envelope>

    When you receive the response, you receive the name of the ip phone. The name is something like: SEPXXXXXXXXXXXX where all the X correspond to the MAC address of the phone.

  • Mac address and device name

    Hello,
    Not sure how to explain my requirement, but I will try: How can I broadcast my computer name along with the MAC address? In other words, I have a Netgear WNDR3700 router and when I login to see the "attached devices" I only see the assigned IP and MAC for all our MacBooks. The router page shows other devices (printers, shared hard drives) but I want to identify my Mac also by name and not guess/investigate who's MacBook is.
    Maybe the pic can help.
    Thanks!

    Does the device name match up at all with the MAC address? Since you blocked out the MAC address I can't see it but everything after the BRW in the device name looks like a MAC address. Could be the BRW stands for Broardcom something Wireless. Which IIRC Mac's use a Boardcom chip for both Wireless and Wired Ethernet.

  • ACS V4.1 How to separate MAC addresses in an Authentication rule....?

    I'm configuring Agentless Authentication based om MAC addresses sendt from the access switch using MAB (MAC Authent. Bypass). I got it up and running, but with just one MAC address configured in the Authentication rule. When I try to configure more than one address in the rule, I get an error saying this is not a MAC address. How do you separate the MAC entries in the same Authentication rule. The doc says you can configure 10.000 addresses in one rule.

    The ACS can authenticate MAC addresses sent from an AP/Switch. A properly configured AP/Switch will attempt to authenticate a MAC address using Secure-PAP authentication with the ACS. The MAC addresses are entered into the ACS as users, with the username and password being the MAC address.
    1. From the ACS main menu, click on the USER SETUP button.
    2. In the USER text box, type the MAC address to add to the user database. Use no dashes, periods,
    or any other delimiter.
    At the USER SETUP screen, enter the MAC address in the SECURE-PAP PASSWORD text box.
    3.Click the SUBMIT button.
    Adding the AP/Switch to the ACS server
    1. From the ACS main menu click on the NETWORK CONFIGURATION button.
    2. Click on the ADD ENTRY button.
    3. Configure the DNS name of the AP, the IP address of the AP, the RADIUS shared secret and the
    Authentication method.
    4. Make sure to select RADIUS (Cisco Aironet) in the AUTHENTICATE USING drop down menu.
    5. To complete, click the SUBMIT+RESTART button.

  • C831 uses mac address as user name

    Hi!
    I'm trying to use this guide called Cisco IOS Easy VPN Remote with 802.1x Authentication, except I don't want to use the VPN part of it, I just want to seperate the users on a wired network based on their logon credentials, and this is the only example of this i've found.
    Anyway, the router (I use a C831) seems to send the mac address of the client as both username and password during the authentication instead of the credentials that is typed in in Windows.
    The Freeradius log looks like this (I have also tried ACS 4.0):
    rad_recv: Access-Request packet from host 10.10.118.1:1645, id=18, length=90
    User-Name = "001422dc7ca0"
    User-Password = "001422dc7ca0"
    Called-Station-Id = "0014.a863.1e32"
    Calling-Station-Id = "0014.22dc.7ca0"
    NAS-IP-Address = 10.10.118.1
    This of course causes me not to be able to use any user name I want to, and thus rendering such things useless.
    Anyone know what could be causing this?
    I'm attaching my C831 config.
    And btw, as you will see from the config, I have stated that the radius connection shall be done on port 1812, yet it say port 1645 in the Freeradius log.. strange.

    I have configured a cisco aironet 1100 for MAC authentication to a freeradius server and I am seeing the requests come in in the radius logs with username/password as macaddress/macaddress. Similar to the issue posted here. The Orinico AP2000 aps work as expected sending macaddress/sharedkey. I'm beating my head off the wall trying to figure out how to get the aironet 1100 to send macaddress/sharedkey as well. Anyone?

  • How to make mac address gmail contacts overwrite the ones on my HTC Android phone - I don't want to sync - that makes the phone scramble and overwrite my computer.  I want to remove or correctly overwrite the phone information as I have done with iPad.

    Please help - I am beginning to hate google, my android and gmail.  I have just wasted about 5 hours in a futile attempt to try and get my current Mac contacts list on my computer updated to my phone. I'm not that computer literate but I have looked up about google phone accounts, vCards, backing up contact lists, what SD on phones are, and God know what else.  I have searched the internet and tried all sorts of things and I still have a mac with a now correct contact list (after the iPad contacts scrambled it and I spent ages manually correcting them all) and a phone with an outdated contact list.  If you try and sync them the phone wants to overwrite the computer one just like the iPad did (would it be so **** hard to give you a choice on the phone as to which overwrites which!).  After all the  advice on the internet failed, I got the bright idea to completely delete all the ones on the phone and if it was empty of contacts the computer one could be exported to it.  Not as simple as it sounds.  First I backed up (I think) my computer contacts list. Numerous futile attempts to go through the phone options to globally delete all contacts did not work - they gave a warning message and you got to choose whether to continue or not, I did, and it looked like it might be working as it changed to zero data on the phone, but then they all popped back up again from God knows where from, but without their little added bits like pictures of the people.  So, I tried un- syncing the darn phone from  google and then deleting them globally.  That didn't work either.  I tried deleting them  all again and again and google would crash and not let me do it. It is absolutely ridiculous that this is so damned difficult to do (especially if you are not computer savvy) and that you cannot choose which device overwrites which when syncing. I gave up and ticked sync with Google again (not that it appears to do anything to the phone contact list at all).  So after 5 hours I am back to where I started from, with a phone showing all the same  incorrect contacts (but the pictures are back), which wants to overwrite the computer if I try any sort of sync, and no way to fix them except go into each one manually and try and do it - and how long would that take (and I've already wasted hours and hours fixing scrambled contact lists!).  I think I will do a print out of the computer contact list and just carry it around with me like an address book - so much bloody simpler.  So now I have a headache, am fighting an overwhelming urge to hurl the phone at the wall,  hoping for a heat wave to evaporate icloud things and am wishing I had bought an iPhone instead of the stupid HTC Android.  Can any one offer me any suggestions on how to get rid of the contacts on my phone and replace them with the ones in my mac address list - hopefully after that  they can sync to their hearts content and not stuff everything up again (which was why I unsynced google a while back - because the phone's list kept making stuff ups and scrambling and duplicating my computer contacts list).  Am I the only one on the planet having this problem or is there someone else out there who has had it and solved it.

    Without "pretending" to be yourself on the other phone (change settings) there's nothing else you can do.
    iOS devices are meant to be single user and can't view iCloud.com the same way a Mac or PC can do.
    You need to find a desktop or laptop machine (Mac or PC) to log in at iCloud.

Maybe you are looking for

  • OBIEE Map viewer integration error

    I have problem with obiee and mapviewer integration. i have completed the phase-1 from the following blog (http://oraclebizint.wordpress.com/2007/09/25/oracle-bi-ee-10133-and-mapviewer-step-by-step-integration-phase1/) At the end when i was trying to

  • Dual booting /w mac mini and shared partition

    I bought a mac mini a few months ago, I wanted to replace an old macbook which died. It had osx 10.4 on it, probably a beta or early bootcamp. I had a tri-boot system with a "shared partition", but when I've tried on my mini I get into problems. I'd

  • Order of music in iTunes Library folder

    i have entered many albums, some of which have many tracks, some numbered and some named. when i go to the library these are listed alphabetically according to the first column, the name column. but i would like to see the library listed alphabetical

  • IE 11 Enterprise Mode Sites List - Must Force IE 8 Emulation to Default or Disaster

    I've gone through about 100 postings thus far and not sure what I'm missing. I have a scenario where 98% of the sites internal are IE8 compatible and in some cases IE7.  I was hoping their was an option to default IE 11 to IE 8 Emulation mode but I c

  • GX60 Destroyer issues

    Hi there! i have some issues on my BRAND NEW GX60 destroyer. When i'm playing sometimes it just freezes up like a lock up... no commands or whatever (mouse doesnt move, no commands like alt+f4 and alt+ctrl+delete). All i can do is press the power but