Quantcast
Channel: VMware Communities : Discussion List - Virtual Machine, Guest OS and VM Tools
Viewing all articles
Browse latest Browse all 1961

How is the default gateway configured via DHCP in VMs?

$
0
0

Hi all,

I am working with Kali Linux and enabled DHCP. Now I have a dynamic IP address assigned of 192.168.81 and a default gateway of 192.168.81.2. What I don't understand is, how does Kali determine the default gateway? I know the default gateway is usually the IP address of a physical router, so I'm wondering how this works. I don't have any router with the IP Address of 192.168.81.2 so I don't understand how Kali can actually access the internet and where the IP packets are going.

 

Is it the case that maybe Kali Linux will map the VM gateway to the IP address of physical PC? My physical PCs default gateway is 10.104.224.1. I thought maybe my VMs default gateway would also be 10.104.224.1.

 

I am pretty confused and would appreciate some advice.

 

Thanks,

Linda

Graduate student , DePaul U.


Viewing all articles
Browse latest Browse all 1961

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>