I have setup Kali Linux in OracleVM.
When I installed the OS, its network type was NAT. But, when I changed that to HostOnlyNetwork, it is not finding its IP address.
Now when I changed it back to NAT, it is not connecting to the Internet.
How to solve this problem?
ifconfig terminal output:
root@kali:~# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:00:5a:0a
inet6 addr: fe80::a00:27ff:fe00:5a0a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:3564 (3.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:732 (732.0 B) TX bytes:732 (732.0 B)
root@kali:~#
Where has the IP address gone?