Virtual machine gateway ip doesn't match the host ip

dindibo4

New Member
Joined
Oct 4, 2018
Messages
13
Reaction score
1
Credits
0
Hey there, I'm using Kali Linux on a virtual machine and I have a problem with the network.
Overall, I have access to the internet in the guest virtual machine and everything seemed nominal but then I've tried to type
Code:
route -n
in the shell and the gateway ip that I saw was completely different than the gateway ip on my host machine.
This problem is causing many other problems in my guest machine, if somebody know how to fix that please let me know.

Thanks from advance.
 
Last edited:


OP
D

dindibo4

New Member
Joined
Oct 4, 2018
Messages
13
Reaction score
1
Credits
0
Never mind, I solved the problem, had to change the option in the oracle virtual box from NAT adapter to Briged Adapter
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,139
Reaction score
7,020
Credits
31,439
Briged Adapter

...Bridged Adapter ... just technical for The Viewers. :)

You're getting good at troubleshooting, more power to you :cool:

Don't get too good or you'll put me out of a job :rolleyes:

Wiz
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Members online


Top