This article describes how to confirm IP address allocation status of HarshPro server BMC. 


  1. Assumptions

  • User has a basic knowledge of IP networks 
  • User has a basic knowledge of Linux 
  • User has physical access to the device and appropriate security rights 
  1. Equipment Required

  • Linux desktop or laptop 
  • Cat5e cable 

 

Dynamic IP address

   

  1. Ensure HarshPro server is completely powered off. 
  2. Connect LAN cable(straight) from a desktop/laptop LAN port directly to HarshPro server BMC port; do not use any switches/hub in between.
  3. Open a terminal window in the desktop/laptop.
  4. In the terminal window run [sudo tcpdump -i enp3s0 -vvvXn 'udp port 68 and 67' > dhcp_tcpdump.log] 
  5. Connect power cable(Do Not press the power button) to HarshPro server (HarshPro server should be completely powered off before the tcpdump command is executed). 
    Note: ‘enp3s0’ is dependent on OS configuration, use ifconfig on desktop/laptop to get correct interface name. 
    Graphical user interface, text

Description automatically generated
  6. The MAC address will indicate that BMC is active and set to DHCP. 
  7. Once the MAC address has been observed, use Ctrl+ C to stop tcpdump. 
  8. File dhcp_tcpdump.log will contain the log. 


  1. STATIC IP ADDRESS 

 

The following procedure can be used to identify the IP address of a BMC that has been configured with a static IP address.  Note by factory default the BMC IP address will be set to dynamic. 

 

  1. Ensure HarshPro server is completely powered off. 
  2. Connect LAN cable(straight) from a desktop/laptop LAN port directly to HarshPro server BMC port; do not use any switches/hub in between. 
  3. Open a terminal window in the desktop/laptop. 
  4. In the terminal window run [sudo tcpdump -i enp3s0 -vvvXn 'udp port 68 and 67' > static_tcpdump.log]. 
  5. Connect power cable(Do Not press the power button) to HarshPro server (HarshPro server should be completely powered off before the tcpdump command is executed). 

    Note: ‘enp3s0’ is dependent on OS configuration, use ifconfig on desktop/laptop to get correct interface name 

     

    A screenshot of a computer

Description automatically generated with low confidence


  6. The BMC IP address can be obtained from the tcpdump log above 
  7. Once the MAC address has been observed, use Ctrl+ C to stop tcpdump 
  8. File dhcp_tcpdump.log will contain the log