Find a PC in a LAN.

Hi, Folks:
I've been asked this question, and the guys siad my answers were not satisfying.
The question is this:
You have a network that consists of many swithes--like 40 something, in IOS and CATos. Now you know the Mac-address of a PC but you dont know which switch it is attached to. The PC can be running or disconnected or shutdown.
The question is: what is the simple way to find out on which switch and which port this PC is.
thanks,
H.

Hi,
In order for you to track it down by CLI commands, the MAC address must be in the mac address table of the switch, so the PC will have to be up and running.
You will also need to know which device is the default gateway for the PC in question. At the default gateway, do a "show arp | inc xxxx.xxxx.xxxx"
This will give you the IP address as well. Then ping the ip of the PC. This will refresh the MAC address table entries of all of the switches in the path as the address could have aged out of one or more switches in the path, creating a dead end.
Now, if the default gateway is a router, connect to the downstream switch. Check the mac-address table for the mac address in question using the necessary command.
CatOS: show cam dynamic
IOS: show mac-address-table dynamic
The output will give you the Vlan, mac address, and port on which it was learned. If the learned port is a host port, then you've found your PC. If the learned port is a link to another switch, telnet to that switch and repeat the same procedure. Eventually, you will find that the mac address in question was learned on a user port, which will be the PC you're looking for.
HTH,
Bobby
*Please rate helpful posts

Similar Messages

  • How can i find out what mode a LAN card is working in

    10 / 100 / 1000 Full or Half ??

    Hi,
    brian wrote:
    >
    > 10 / 100 / 1000 Full or Half ??
    Most cards will tell you in the lan statistics in Monitor.nlm.
    CU,
    Massimo Rosen
    Novell Product Support Forum Sysop
    No emails please!
    http://www.cfc-it.de

  • I need to find out my "nic" and  "lan" numbers

    i have a power mac g4 dual 1.25. i am currently running 10.3.9. My service provider needs to know these numbers so that I can get reconnected to dsl connection-ethernet. i thank you in advance for your help

    To find these numbers, choose About this Mac from the Apple menu and click on More info. Once the System Profiler has opened, look at the Network section for items in the form 12:34:56:78:90:ab(NIC address) and ###.###.###.###(IP address); if there are several numbers in the second form, the first one will be your internal IP address.
    (12153)

  • Finding a Computer or SMB (or NFS) Mount on a LAN

    I will have a computer, running Linux, hooked up to an office LAN. The problem is that I'm dealing with professionals who are not in the IT field and are in small offices, so they often know nothing about DNS or what DHCP is. In many cases, they'll likely be using a Linksys router or one provided by their ISP and they may not even know how to log into it to make changes. In other words, there's a good chance when my Linux box (which is a server) will be hooked up with a CAT5 and plugged in and that's all I'll get in terms of set up. I won't know the IP address and, of course it could change.
    Now my client will be using either Windows, OS X, or Linux on their desktops and will be running a simple Java program. We'll call this the client system. I want to be able to, on the client system, have a Java class that can find my server. There's a lot I don't know in networking, so I know there's a lot of ideas I'm missing. The client could send out a broadcast saying something like, "Here I am, I'm looking for a TN server," then my server might get that (along with every other computer on the LAN) and respond, "I'm a TN server, here's my IP address."
    Or maybe the server will have an SMB share and show up as an SMB server on the network so it could be found that way. (Or it could be NFS, too.)
    Ultimately, I want to be able to run another Java program that will be on either an SMB or NFS share on my server. The client program would be very small. All it has to do is find my server on the LAN and run a Java program on the SMB or NFS (or both?) share.
    I figure if all else fails, I can read my client computer IP address and subnet mask, then cycle through all possible addresses and see if I get a response or if that computer has an SMB share on it, but that's kludgy and can take a lot of time.
    Also, I'd prefer to use Java SE and not have to step up to Enterprise or anything else.
    Any ideas or help are appreciated!
    Thank you.

    Rhasley
    Just an FYI, there is a 3rd party app called team viewer that does that and so much more.  http://www.teamviewer.com/en/index.aspx
    Wanikiya and Dyami--Team Zigzag

  • How to find out if a user is logged into a windows XP or VISTA machine

    Hi,
    Could somebody please tell me how to find out remotely over a LAN, whether a user is logged into a computer that is running windows XP/VISTA or not? How can this be programmatically done if we know the name of the remote machine?
    Thanks.
    Ravisara

    Hi,
    Thanks for all the replies.
    Actually it seems that my question has either been misunderstood or has been badly phrased by me.
    What I want to know precisely is the way to find out if a user is logged into a machine or not. Say for example in a LAN there are three computers called A, B and C. If my Java program is running on machine C, how can the program check whether a user is logged into machine A? Assuming JRE is present in all three machines, the machines have as their OS windows XP or VISTA and all machines are connected to a windows domain(Windows 2003 server based network)
    The idea here is to identify all the computers in a network that users are not logged into and then to remotely shutdown those computers in order to minimize wastage of electricity(preferably after a particular time of the day in an organization).
    Any replies would be much appreciated.
    Kind regards,
    Ravisara

  • How to optimize Mac file sharing speeds over LAN?

    I got a new NetGear R7000, and I find it very fast for LAN transfers wired or wireless between Macs running OS X Mountain Lion or Mavericks. Testing large (multigigabyte) file transfers over AFP, an early 2011 Macbook Pro running Mavericks 10.9.1 connecting to a 2011 Mac Mini running Mountain Lion 10.8.5, Ethernet speeds can hit 6 GB per min (800 Mbps) real world and wireless 2.06 GB / min (273 Mbps), real world performance.
    If I perform a similar test for Snow Leopard on both ends, an early 2011 Macbook Pro running Snow Leopard 10.6.8 onnecting to a 2010 Mac Mini also running 10.6.8, has Ethernet transfers topping out at about 1.72 Gigabytes per minute for Ethernet (228 Mbps) and 1.07 GB / min (140 Mbps) for Wifi, real world performance.
    I am wondering if there is anything I can do to speed up the Snow Leopard AFP networking. (There are some applications that run only in Snow Leopard and I would like to have it network efficiently instead of getting rid of it. The Macbook Pro has a partitioned drive so I can boot between Snow Leopard and Mavericks.)
    I know that Apple made some tweaks in file sharing performance in Mountain Lion 10.8.5, and I suspect TCP IP parameters were altered to speed things up dramatically when there were all the complaints about it being slow on Mac Book Airs with 802.11ac. I am curious what Apple did.
    I am wondering if anyone has any tips on how I can improve AFP file sharing performance in Snow Leopard. Are there TCP IP parameters, or plist entries, or other hidden settings I can change? Parameters I can tune in sysctl.conf? I am hoping a real network guru can come on here to advise on some advanced techniques I can use to speed up AFP on Snow Leopard. It is the Macs running Snow Leopard that need to be tuned, not the router, as speeds are very fast sharing between Mountain Lion and Mavericks.
    Also, for any/all Mac OS versions, are there networking parameters that I can tune to speed up transfers that involve a very large number of very small files? Even recent versions of OS X slow down greatly on this.
    Thanks in advance

    Anyone have any ideas? What kind of speed do others see through gigabit Ethernet, with snow leopard or Lion?

  • Prime DCNM 6.1(2) - LAN client not working

    Hello Everyone,
    I've recently installed a Prime DCNM 6.1(2) to a Windows 2008 R2 SP1 64 bit version. It seems to be working fine, apart from the DCNM-LAN client.
    If I login with the Java client, I got the GUI, however it remains blank - I can see the menu, but no data at all. It seems it cannot cummunicate with the DCNM server. DCNM-SAN client, the WEB client and the Device manager works fine, but I just cannot make this work.
    Tested it from Win2k3 SP2, Windows 7, and the server itself, with Java 1.6.31, 1.6.37, 1.7.13.
    Tried to install DCNM on our LAB as well, but I've experienced the same.
    Any hints appreciated!
    Kind regards,
    Gabor

    Hi All,
          I also have  met this issue! However, I want to know whether the deep discovery must need SNMPV3 or not. My client just gave me the N7K username and password, I used the information to discovery the N7K successfully and the dcnm-lan client still can't display anything.
         DCNM version is 6.1(2) and window platform is win 2008 R2 standard 64 bit
        Thx in advance!
         After setting the SNMPv3, we still find nothing in the dcnm-lan client as given below:
    Regards,
    Tira
    消息编辑者为:tira li

  • 802.1x on a wired Lan Connection

    Dear Community,
    i have the job to connect a Windows CE 6.0 device to a Network (wired) with 802.1x. The switch to wich i connect the device  is operating as authenticator and the Wince device is the supplicant. A Radius Server with AD is also present .
    All the informations and samples  that i can find are relating to wireless LAN connections (WZCSVC). A description of the EAPOL API is also absent (or i was not able to find it).
    I'm afraid that Wince 6.0 is not prepared for using 802.1x over a wired connection like Win XP can, but i'm not sure about that. I can not find a definite  statement whether it is possibe or not.
    Does anybody know if it is possible and/or how i can solve this problem.
    Regards Achim

    Community,
    anybody has answer to this problem?  I have to do the same thing...
    Achim,
    did you solve this problem?Thank you
    in advance for any help you
    can provide.
    Regards Bruno

  • Can't detect or print to C8189A All-in-One-Printer on a wired LAN

    Computers on my home wired LAN repeatedly but intermittently stop being able to print to the HP C8189A printer attached via wired LAN connection.  I began trouble shooting last night and uninstalled all HP software to start afresh.
    I cannot print to my HP C8189A all-in-one printer conected to a wired network from my desktop PC running Windows XP with SP3.  I can see the printer has pulled an IP from the router by looking at the router's attached client list.  I can ping the printer at its assigned LAN IP address.
    My desktop pc and the C8189A printer share a common DLINK Gigabit Switch which connects wired wired LAN to the DLINK router.
    I uninstalled and reinstalled all HP software but during the HP Solutions Center software reinstall it could not find the PRINTER on the lan, even when inserting the Printer's assigned IP address.
    When checking the network configuration from the printer, it confirms that it is has the correct IP address, but the HP software still cannot detect it.  I have pulled the power connector from the back of the power a couple times to RESET the printer.  This usually corrects what is now a terribly frustrating problem accessing the printer.
    Additional factoids: 1) other PCs can print to this printer, 2) SPYBOT Search & Destroy is running on my PC and popped some registry change windows during the install.
    I'm running out of ideas - any suggestions please?
    Message Edited by VARocketry on 01-09-2009 11:54 AM

    Hmmm ... this is interesting.  In review:
    You can print intermittently from your XP SP3 box to the OJP L7680.
    Disabling the SW firewall (Norton/Symantec, Zonealarm, McAfee, etc) on the SP3 PC doesn't help.
    Other computers on your network have no problems printing to the OJP L7680.
    You are running a wired (Ethernet) network.
    Did I get this right?  I'd like to ask a few more questions:
    What are the other types of computers on your network and what firewall do they run?
    The next time your XP SP3 computer has trouble printing to the OJP L7680, try to access the printer's internal web page.
    What are the IP addresses of the other devices on your network?  By chance, is there a duplicate address on your network?
    Finally, you can try adding the print driver manually to see if we can get you printing.  This is the sequence for XP: 
    Click "Start" button --> Printers and Faxes.
    Under Printer Tasks, click "Add Printer".
    Click "Next" button on the first Add Printer Wizard window.
    If the option for Local or Network printer appears, select "Local printer attached to this computer" and deselect  the "Automatically detect and install My Plug and play  printer" option.  Click "Next".
    Under Select a Printer Port option, select "Create a new port" and select "Standard TCP/IP Port"  and click "Next" button.
    In the "Welcome to the Add Standard TCP/IP printer port wizard" make sure that the printer is  turned on and configured. Click "Next" button.
    Under "Add Standard TCP/IP Printer Port" enter the printer's host name  (that is the hostname of printer that printed in network configuration page)
    under "Additional Port Information" select "Standard". Click Next, and then click Finish.
    Now, select HP from the list of manufacturers, select your printer from  the list of Printer models  and click 'Next' button.
    The Printer name will be highlighted on the next window.
    Click "Next" button.
    It ask for the Printer name -- leave it as is.
    Select "Yes" option for making the printer default.
    Click "Next" button.
    The Printer Sharing dialog box will open.
    Click "Next" button.
    The Print Test Page box appears.
    Select "Yes" option to print a test page.
    Print Test Page.
    Completing the Add Printer Wizard box appears.
    Click "Finish" button and wait for the files to copy 
    This should work to get you a print queue for your XP box.
    Regards / Jim B
    Regards / Jim B / Wireless Enthusiasts
    ( While I'm an embedded wireless systems engineer at work, on this forum I do not represent my former employer, Hewlett-Packard, or my current employer, Microsoft )
    + Click the White Kudos star on the left as a way to say "thank you" for helpful posts.

  • E3000 LAN/CONNECTIONSHARING problems..really need help.

    I couldn't find this exact problem being discussed here, so sorry if this has been covered.  I have multiple machines all running Windows 7 Home Premium, a couple are 64b, the others are 32b.  For some odd reason I cannot get all of them to see each other on the LAN.  They all will connect up to the E3000, however they will not/can not find one another on the LAN to achieve file sharing.  I'm a long time ROUTER user so I know all of the basics of what I need to do to share....ie...all computers have same subnet mask, they are all in the same workgroup...etc...etc.  Technically, I'm having the most trouble with this blasted Sony VPCL116FX that has a Atheros AR928X Wireless Network Adaptor in it.  I have the most up to date driver installed for it..so I don't know.  Also, I should note that I was able to successfully ping two computers that I was using to troubleshoot the problem with.  I just cannot get them to see one another within W7.  Heck, I cannot even get them to recognize that one/or the other has been set up with a "Homegroup".  The Homegroup option has always been the easiest way (for me) to get computers to recognize each other on a LAN, but now however, it's not happening.  Any help would be GREATLY appreciated.  Thanks for your time.

    UPDATE:  This is an update to my original post.  I decided to go back and re-install the router on the LAN and this time NOT use the quickKEY function and just set them up manually.  It worked.  So, my verdict is that something in the preparation of the quick key by the router software got messed up somehow because by setting it up manually it now functions properly with connections on all machines.  I hope this helps someone out there in Linksys land.  
    The thread is dead/answered.

  • I do not see the LAN adapter and Wifi adapter in Control Panel Network Connections. Why?

    Hi,
    I am unable to connect to any network. When I started digging in, I reached to Control Panel > Network Connections. There I don't find any icons related to LAN connection or Wireless connection. Why could this be happening? How to investigate it further?

    Your scenario #1 is a correct configuration and should work. It seems as though your Extreme is not acting as a router as I believe you intend.
    Most likely, you need to reset your modem. Power it down and let it rest for a few moments. Some need longer than others. Then, I recommend you "hard reset" your Extreme (see below) and configure it again, after the modem has been reset. From then on do not change what is connected to your modem without powering it down first.
    Once configured, confirm your Extreme's wireless network works as expected and that your iPad and every other wireless device can load web pages. Then, connect the printer directly to one of the Extreme's LAN ports and confirm that it works as well. After that it should work equally well with a switch between it and the Extreme, as should every other wired device connected to the switch. This assumes your switch is an unmanaged device requiring no specific configuration.
    Scenario #2: Having a router connected downstream of another is not a normal configuration, so don't pursue that as a solution. It will only distract you from determining the problem. If you want to repurpose Router X as another device do so only after everything else is working to your satisfaction.
    To "hard reset" an AirPort Base Station: make sure it's powered up, then press and hold its tiny reset button and keep it depressed for five to ten seconds, long enough for its LED to flash amber rapidly. Release the reset button. Then, the LED will glow amber steadily for about a minute. Then, it will flash amber, slowly, about once every second or two, waiting for you to configure it with AirPort Utility.

  • HELP!  Macbook suddenly can't find hard drive

    Hi all. I think I may be looking at a gone hard drive but I wanted to check here in case there's a less bad solution. Our white macbook (running the latest leopard) froze this morning, and when I restarted, it couldn't find a system folder (blinking "?" icon.) I restarted from my Leopard DVD hoping to reinstall but it turns out it's an upgrade DVD, and since it couldn't see a 10.4 it wouldn't run.
    So I restarted with a 10.4 CD and it runs -- but doesn't see a drive to install the OS on. I also tried starting up over the network, but the other mac in the house can't find the macbook on the LAN, even though I could get the macbook to join the network (using the leopard startup dvd.)
    Disk utility (using both leopard and tiger OS disks) could not see a hard drive.
    So is that all she wrote -- gonzo hard drive -- or is there another possibility?
    Thanks.

    Hey man, recently just happened to me after updating OSX. I had left the MacBook in hibernate, when I can to the office the next day I opened it up and went to launch FireFox - started to launch then everything froze, system wouldn't respond so I shut the whole thing down pulled out the battery etc. Turned it back on and got the flashing folder icon with the question mark. Hard drive was indeed dead. When I took the drive out to look at it you could hear something rattling around inside.
    Moral of the story is, its the only thing that's ever gone wrong with my MacBook but it was a big pain, I've never had a drive fail on me before. I went out and bought a WD Scorpio Black 320GB and its really fast, noticeable improvement. Been working great ever since.
    I went through all of the same steps as you did though - in the end the drive was dead
    Good luck man!

  • Why does Airport take so long to connect to the wireless LAN?

    I have one of the Core 2 Duo MacBook Pros. I notice that whenever I wake up my Mac from sleeping, it takes a good 10 seconds for it to find and connect to the LAN. By contrast, Windows computers seem to find it and connect almost instantly.
    Aside from having WEP encryption, there's nothing special about my LAN. It's a Linksys WRT54G, and I'm not hiding the SSID. Also, my home network is at the top of my list of preferred networks.
    Once connected, I don't notice any problems. I haven't tried any specific tests of local throughput, but web browsing and other internet traffic with the Mac is no slower than the top speed of my broadband connection.
    Also, I've talked with other Mac users, and they don't report wireless connections taking so long to be established.
    So, what's going on here and how can I fix it?
    Thanks!

    My guess is that your connection will appear even faster, although I have no explanation for that, only my experience since I installed the same update.
    Yes, your MBP firmware appears to be up to date, although the documentation is confusing. If your firmware wasn't updated at all, it would probably end with 00, instead of 01.
    Software Updates needed for Macs will appear in Software Update's automatic offerings. I'm not sure what might have happened with the AirPort Extreme Update, although I suspect it might have only been called for if a Mac was using an Apple Base Station.
    If you use Software Update to do your updates, you can check the Software Update panel of System Preferences, and on the "Installed Updates" pane, scroll down and check to see what was installed and when. I installed the same AirPort update the day after release - but then I was having an issue and was checking Software Update every day for that update to show up for my iMac Core Duo.
    [I'm not sure that firmware updates are listed there at all, perhaps only software updates.]
    To check for all downloadable updates on your own, click on "Downloads" in the Support menu bar at the top of this page. That's where firmware updates will appear if they are not included by Software Update. The last firmware updates have been appearing in Software Update. The first in 2006 didn't, but that created so much confusion among new users that I have a feeling that Apple has changed the procedure to automate it rather than have it be search and find:) Only time will tell.
    Your mention of your printer - you could check to see if Samsung has a firmware update for your printer, but no, you can't use a mixed network, you need everything connected to be using same encryption method with same network name and same password.
    I believe I understand the new AirPort Extreme "n" Base Station will support two separate simultaneous networks like that, one on the 5MHz band and second on the 2.4MHz band, but the older equipment can't do that.

  • AirPlay via LAN network and wlan

    Help needed. I have Apple TV 3rd gen. connected to Switch in basement, ipad3 connected to AirPort Express 1st Gen connected to same switch in basement. Somehow AirPlay on iPad does not find Apple TV on the LAN network. If I connect Apple TV to the WLAN it works.

    Welcome to the Apple Community.
    Are ethernet and wifi bridged.

  • Discovery of Test Equipment on the LAN

    Does Labview provide a discovery feature to find Test Equipment on a LAN?

    Hi,
    LabVIEW itself does not have this functionality, however, the NI-VISA driver does have it. If you have NI-VISA installed, you can auto-detect LAN instruments in Measurements and Automation Explorer (MAX) and set them up as VISA resources. Once you do this, you can call the resouce in LabVIEW with the VISA API. In order to detect a LAN instrument in MAX, right-click Devices and Interfaces >> Create New.. and select VISA TCP/IP Resource from the list.
    Eli S.
    National Instruments
    Applications Engineer

Maybe you are looking for

  • Loading data from Cube to ODS

    Hi All, I have a cube which contains projects data. I want to load the data from cube to a write optimized ODS. In the cube for a project i have multiple records. But while loading the data to ODS, I have to summarise the data in such a way that i sh

  • BPMon: Send BPMon alerts to third party tool through SNMP traps

    Hi All, In our environment the preferred ticketing tool for raising tickets is a CA tool. I have managed to integrate system monitoring on Solution Manager with this third party tool using SNMP traps. Essentially when a system monitoring alert is rai

  • MB51 and BW Material Inventory 0IC_C03_Q0006 values do not match

    Hello BW experts, We recently implemented the standard material inventory extractors to our BW system.  When I compare the values between MB51 and 0IC_C03_Q0006, the quantities are the same but the values are different. For a particular material/plan

  • Photoshop not accepting Serial Number

    Hello, I have recently brought Creative Suite 4 Student Edition and have done the verification process and got my serial number. InDesign and Illustrator have accepted the serial no. and are fine, but whenever I enter the serial no. on Photoshop it d

  • Installing Oracle Business Process  Manager

    Hi All, I downloaded the windows version of the oracle web-services manager from the site http://www.oracle.com/technology/software/tech/webservices/index.html When I run the setup,windows appear with the heading Welcome to the Oracle Web Services Ma