Get the App
SLTechnology News&Howtos  ›  Servers  › 

Look up the ip address based on the host name in the LAN

Shulou Source: shulou.com Published: 2022-06-03 01:31:24 11月11日 Update

The employee reported that the cashier order of a cashier system of the company was slow, and the background investigation found that there was a mainframe connected to more than 2000 processes.

According to the scene information, you can only see the name of this host.

Cmd runs the following command

Nbtstat-a hostname

C:\ Users\ Administrator > nbtstat-a PC-20170831G

Local connection:

Node IP address: [x.x.x.x] range ID: []

NetBIOS remote computer name table

Name type status

-

PC-20170831GIKO is only registered

The WORKGROUP group is registered

PC-20170831GIKO is only registered

The WORKGROUP group is registered

MAC address = 00-00-00-00-00-00

Finally, the corresponding IP is found by comparing the arp-an according to the MAC address.

C:\ Users\ Administrator > arp-a

API: x.x.x.x-0xb

Internet address physical address type

1.1.1.2 00-00-00-00-00-00 dynamic

Tags: Address host name type x.x.x.x cashier slow information company dynamic background employee command multiple interface physical status system node range Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Docker Shulou Information vpn Linux