windows : ping to host giving me wi-fi address, how to make it to ping specified IP

this my persoanl PC, not conneced to any LAN.
-------------
C:\Users\Toshiba>ping PC-54

Pinging PC-54 [192.168.6.126] with 32 bytes of data:
Reply from 192.168.6.126: bytes=32 time<1ms TTL=128
Reply from 192.168.6.126: bytes=32 time<1ms TTL=128
-----------
my host File entried are as below

# localhost name resolution is handled within DNS itself.
#      127.0.0.1       localhost
#      ::1             localhost

192.168.1.1      PC-54

-------------
question is ...
when I ping to host , I want this to ping what is defined in hostFile .. not in of wi-fi IP

..
please advice how to make it
mac_gAdmin - Oracle Fusion Middleware suiteAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Sikhumbuzo NtsadaConnect With a Mentor Senior IT TechnicianCommented:
You will have to ping the IP address for it to work.
0
 
Tony GiangrecoConnect With a Mentor Commented:
You should ping in this manner

ping 192.168.6.126
or
ping 192.168.1.1

or whatever address you want to ping.

Hope this helps!
0
 
Tony GiangrecoConnect With a Mentor Commented:
Did that work for you?
0
All Courses

From novice to tech pro — start learning today.