User Tools

Site Tools


other:hp_procurve_switches_tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
other:hp_procurve_switches_tricks [2022/11/09 23:02] – [Find which port a particular machine is on (harder way)] rodolicoother:hp_procurve_switches_tricks [2022/11/09 23:06] (current) rodolico
Line 69: Line 69:
 ===== Find which port a particular machine is on (harder way) ===== ===== Find which port a particular machine is on (harder way) =====
  
-Some things do not have the ability to install lldp daemons. For example, my IPMI connections do not appear to support this. For those, do the following:+Some things do not have the ability to install lldp daemons. For example, my IPMI connections do not appear to support this. Note that the arp table only lasts for a while, so if the target has not had any network traffic in a while, you need to generate some traffic. For those, do the following:
  
   - Get the MAC address of the server's NIC in question   - Get the MAC address of the server's NIC in question
   - If you have vlan's, ensure the one which the machine on has an IP, otherwise you can not ping it. This can be temporary   - If you have vlan's, ensure the one which the machine on has an IP, otherwise you can not ping it. This can be temporary
-  - ping the target. Note that the target does not have to respond, but pinging it will create an arp table entry.+  - Put some activity up to populate the arp table 
 +    - If you know the IP address, ping the target. Note that the target does not have to respond, but pinging it will create an arp table entry
 +    - If you don't know the ip address, but do know the subnet //nmap subnet// will look through all of them.
   - Log into the procurve and issue the command //show mac// or //show arp//. If you know what port you need to look at, you can use one of the following to narrow it down   - Log into the procurve and issue the command //show mac// or //show arp//. If you know what port you need to look at, you can use one of the following to narrow it down
      - show mac MAC-ADDR      - show mac MAC-ADDR
other/hp_procurve_switches_tricks.txt · Last modified: 2022/11/09 23:06 by rodolico