Your network settings
In your network setting they are all on the same network. Confusion comes from the DHCP IP range, that cuts the possible adresses to .128 - .254
This network works like this.
network adress
192.168.209.0
net mask
255.255.255.0
results in 254 possible client IP adresses inside one big subnet
router IP adress
192.168.209.1 (normaly first IP of network)
he knows who is inside and outside his network
by comparing subnet masks. (compares binaries of subnet masks)
broadcast adress
192.168.209.255 (normaly last IP of network)
multicast traffic goes here
and then to all inside network
client IP range (distributed by DHCP)
all IPs inside netmask exept first (router) and last (broadcast)
here:
not all possible are used, only
192.168.209.128 - 192.168.209.254
There are several reason for not using all IP adresses.
One would be, if all clients get adresses dynamically, that you can split vmnet1 network into several subnets by changing the mask.
For your understanding of host-only you can read further
host-only network
vmnet1
is a virtual switch
, by default mapped to a host-only network
with an adress coming from VMware DHCP, here it is 192.168.209.0 with mask 255.255.255.0
PC1-host
external IP: from ISP
internal IP: 192.168.209.128 (VMware runs the DHCP)
PC2-guest
internal IP is one of 192.168.209.128 - 192.168.209.254
connects to Router on IP 192.168.209.1 (vmnet1)
Broadcast IP: 192.168.209.255
Host-only network means, that IP of internal network will come from internal DHCP. Every connection from internal network to internet will only be possible, if host will share his internet connection with vmnet1.
More often, there is a router between PC1 and Internet.
Then Router will only see external IP of PC1.
Traffic from PC2 to router will go through virtual switch vmnet1 to host network adapter eth0 if host shares
his connection. Router doesn't know, that PC2 exists.
Read more about networking in virtual environments in the documentation
if this picture displays standard vmware networking, then it is
– Marco M. von Hagen – 2015-06-22T15:19:30.747host-only
asvmnet1
by default maps tohost-only
as documented here You are right when saying thathost-only
by default does not connect to internet. But how shall it display, that PC1 is connected. There for I added a better picture