VMWare Fusion Networking Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
Both subnets allow guests to be directly routed into from the host processes.
Both subnets allow guests to be directly routed into from the host processes.


In both subnets, guests are dynamically configured with DHCP by default, but they can be statically configured.  
In both subnets, guests are dynamically configured with DHCP by default, but they can also be statically configured.  


For vmnet8 the static configuration range is 172.16.153.3 - 172.16.153.127 (172.16.153.1 is the host interface, and 172.16.153.2 is the NAT server).
For vmnet8 the static configuration range is 172.16.153.3 - 172.16.153.127 (172.16.153.1 is the host interface, and 172.16.153.2 is the NAT server). The guests have external access via a NAT server, so they can  access the host's gateway.


For vmnet1 the static configuration range is 192.168.10.2 - 192.168.10.127 (192.168.10.1 is the host interface).
For vmnet1 the static configuration range is 192.168.10.2 - 192.168.10.127 (192.168.10.1 is the host interface).
Line 22: Line 22:
For details on configuration see {{Internal|VMware_Fusion_Configuration#Networking|VMware Fusion Networking Configuration}}
For details on configuration see {{Internal|VMware_Fusion_Configuration#Networking|VMware Fusion Networking Configuration}}


<font color=darkgrey>
=Networking CLI Tool=
 
In the default configuration, the VMs get the IP address for their network interface over DHCP, which can be configured in <tt>/Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf</tt>. Fusion performs the NAT so the VMs can access the host's gateway.
 
This is the procedure to configure the DHCP server to serve a static address:
 
{{Internal|VMware_Fusion_Configuration#Configure_DHCP_to_Serve_a_Static_Address|Configure DHCP to Serve a Static Address}}
 
==Networking CLI Tool==


<pre>
<pre>
/Applications/VMware Fusion.app/Contents/Library/vmnet-cli
/Applications/VMware Fusion.app/Contents/Library/vmnet-cli
</pre>
</pre>
</font>

Revision as of 04:07, 26 May 2017

Internal

Overview

Network Topology

VMware Fusion offers by default two choices of subnets:

  1. vmnet8 - a 172.16.153.0/24 host-based network with a DHCP server and external NAT access.
  2. vmnet1 - a 192.168.10.1/24 internal host-based network with a DHCP server, without external NAT access.

Both subnets allow guests to be directly routed into from the host processes.

In both subnets, guests are dynamically configured with DHCP by default, but they can also be statically configured.

For vmnet8 the static configuration range is 172.16.153.3 - 172.16.153.127 (172.16.153.1 is the host interface, and 172.16.153.2 is the NAT server). The guests have external access via a NAT server, so they can access the host's gateway.

For vmnet1 the static configuration range is 192.168.10.2 - 192.168.10.127 (192.168.10.1 is the host interface).

For details on configuration see

VMware Fusion Networking Configuration

Networking CLI Tool

/Applications/VMware Fusion.app/Contents/Library/vmnet-cli