Finding DCHP IP address

From YateBTS
Jump to: navigation, search


From any client in the same subnet

You can know the DHCP IP address for the unit from any device in the same subnet by checking the arp table

For Linux OS

  1. run nmap scan (nmap x.x.x.*) where x.x.x are the first 3 digits from your DHCP subnet
  2. Look into the arp table (arp -n | grep xx:xx:xx:xx:xx:xx ) where xx:xx:xx:xx:xx:xx is the ethernet MAC address

For Windows OS

  1. ping the subnet gateway (ping x.x.x.x)
  2. Look into the arp table (arp -a) and search for the unit ethernet MAC address


From Layer 3 device

You can check the arp table and find the IP address using the ethernet MAC address in the network router

  • Cisco switches: show ip arp
  • HP switches: show arp
  • Huawei switches: display arp all

The command and the steps will be different depending on your vendor

Using Network A

Network A is per-configured with the fixed IP 10.0.3.1 and could be used for initial setup or rescue situations

  1. Connect PC with ethernet cable directly to Network A port.
  2. Assign static IP address in the network 10.0.3.x /8 for the PC
  3. Access the unit ssh yatebts@10.0.3.1 -p 54321
  4. Become root (su) where the password is the serial number of the unit.
  5. Check the interfaces IP address (if config)