.ASSLAM.O.ALAIKUM.

Step by step enable the network in Kali Linux:
.
.
. 1...Open your Kali Linux Virtual Boxl ike this. Click ¡°Devices¡±menu and choose ¡°Network Adapters¡°

.
2. Now the new window to set up theKali Linux Virtual Boxwill open.
.
3.... By default the network adapter is attached to NAT. You need to change it to Bridged adapter.
.
4. The next step you need to choose which network interface you want to bridged to. If your network interface have more than one (e.g: 2LAN port, 1 wireless, etc) it will show here. Just choose which network interface you want to bridged to. Because the one connected to internet is my wireless card, then I choose wireless network adapter.
.
5. After I make the change, I get theIPaddress directly from the network not from the virtual Box adapted. Here is the result.
.
Notes :Your default wireless network cannot be used while you are using virtual Box. If you want to use wireless network in your virtual Box, you canuse the wireless USB card, then the virtual machine can detect it.
Hope you found it useful