I’m connected to HTB lab and I tried to ping few machines but none of them comes with a result.
Did you follow the guide from here Login :: Hack The Box :: Penetration Testing Labs ?
Did you set your VPN so you can connect in the htb’s network? Did you got an error or something?