You need to change network type of host machine to Bridge and Virtual machine(Linux) to NAT.
Here is how to setup bridge network on host machine
Bridge on linux
or
Bridge on Windows
As mentioned here
NAT: Just like your home network with a wireless router, the VM will
be assigned in a separate subnet, like 192.168.6.1 is your host
computer, and VM is 192.168.6.3, then your VM can access outside
network like your host, but no outside access to your VM directly,
it's protected.
Bridged: Your VM will be in the same network as your host, if your
host IP is 172.16.120.45 then your VM will be like 172.16.120.50. It
can be accessed by all computers in your host network.
In this way only NAT will be visible in ip ranges unless you use Nmap to discover host