Vmware Workstation 5.5: Selecting Ip Addresses On A Host-Only Network or Nat Configuration
Vmware Workstation 5.5: Selecting Ip Addresses On A Host-Only Network or Nat Configuration
(https://www.vmware.com/) US (https://www.vmware.com/worldwide.html) Login (#) Training (https://www.vmware.com/training.html) Community (http://communities.vmware.com/welcome) Store (http://www.vmware.com/vmwarestore
Search
1-877-486-9273 ( javascript:void(0);)
(JAVASCRIPT:VOID(0))
CLOUD SERVICES
Support (/support/) > Documentation (/support/pubs/)
Features (/products/ws/)|Documentation(/support/pubs/ws_pubs.html)|KnowledgeBase(http://www.vmware.com/support/kb/enduser/std_alp.php?
(JAVASCRIPT:VOID(0))
p_sid=NqNHV8Ih&p_lva=&p_li=&p_page=1&p_prod_lvl1=37&p_prod_lvl2=%7Eany%7E&p_search_text=&p_new_search=1&p_search_type=7&p_sort_by=dflt)|DiscussionForums
SOLUTIONS
(http://www.vmware.com/community/forum.jspa?forumID=19)
A host-only network uses a private virtual network. The host and all virtual machines
congured for host-only networking are connected to the network through a virtual switch.
(JAVASCRIPT:VOID(0))
Typically, all the parties on this private network use the TCP/IP protocol suite, although other
PROFESSIONAL
communication protocols may be used.
SERVICES
A network address translation (NAT) conguration also sets up a private network, which
must be a TCP/IP network. The virtual machines congured for NAT are connected to that
(JAVASCRIPT:VOID(0))
network through a virtual switch. The host computer is also connected to the private
PARTNER
network used for NAT via a host virtual adapter.
PROGRAMS
Each virtual machine and the host must be assigned addresses on the private network. This
is typically done using the DHCP server that comes with VMware Workstation. Note that this
(JAVASCRIPT:VOID(0))
server does not service virtual (or physical) machines residing on bridged networks.
COMPANY
Addresses can also be assigned statically from a pool of addresses that are not assigned by
the DHCP server.
When host-only networking is enabled at the time VMware Workstation is installed, the
network number to use for the virtual network is automatically selected as an unused private
IP network number. To nd out what network is used on a Windows host, choose Edit >
Virtual Network Settings and check the subnet number associated with the virtual network.
On a Linux host, run ifconfig in a terminal.
A NAT conguration also uses an unused private network automatically selected when you
install VMware Workstation. To nd out what network is used on a Windows host, choose
Edit > Virtual Network Settings and check the subnet number associated with the virtual
network. On a Linux host, run ifconfig in a terminal.
Using DHCP to assign IP addresses is simpler and more automatic than statically assigning
them. Most Windows operating systems, for example, come precongured to use DHCP at
boot time, so Windows virtual machines can connect to the network the rst time they are
booted, without additional conguration. If you want your virtual machines to communicate
with each other using names instead of IP addresses, however, you must set up a naming
convention, a name server on the private network, or both. In that case it may be simpler to
use static IP addresses.
In general, if you have virtual machines you intend to use frequently or for extended periods
of time, it is probably most convenient to assign them static IP addresses or congure the
VMware DHCP server to always assign the same IP address to each of these virtual
machines.
On a Linux host, you congure the host-only DHCP server by editing the DHCP
conguration le for VMnet1 (/etc/vmware/vmnet1/dhcp/dhcp.conf). To congure the
DHCP server for the NAT network, edit the conguration le for VMnet8
(/etc/vmware/vmnet8/dhcp/dhcp.conf).
Editing the DHCP server conguration le requires information that is best obtained directly
from the DHCP server documentation. Consult the manual pages dhcpd(8) and
dhcpd.conf(8).
On a Windows host, use the virtual network editor to congure the DHCP server (Edit >
Virtual Network Settings > DHCP).
Search
https://www.vmware.com/support/ws55/doc/ws_net_advanced_ipaddress.html 1/3
4/14/2017 SelectingIPAddressesonaHostonlyNetworkorNATConfiguration
(https://www.vmware.com/)
(JAVASCRIPT:VOID(0))
CLOUD SERVICES
(JAVASCRIPT:VOID(0))
(img/w_netw_cong_dhcpmain.png)
PRODUCTS
Select the virtual network for which you want to change settings and click Properties.
(JAVASCRIPT:VOID(0))
SOLUTIONS
(JAVASCRIPT:VOID(0))
SUPPORT
(JAVASCRIPT:VOID(0)) (img/w_netw_cong_dhcpprop2.png)
DOWNLOADS
Make the desired changes, then click OK.
Feedback ( javascript:window.open('https://vmware.co1.qualtrics.com/SE/?SID=SV_b3COdXybimzMJH7&Q_lang=EN','','width=715,height=675,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no');void(0);)
https://www.vmware.com/support/ws55/doc/ws_net_advanced_ipaddress.html 2/3
4/14/2017 SelectingIPAddressesonaHostonlyNetworkorNATConfiguration
Feedback ( javascript:window.open('https://vmware.co1.qualtrics.com/SE/?SID=SV_b3COdXybimzMJH7&Q_lang=EN','','width=715,height=675,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no');void(0);)
(https://www.vmware.com/)
(JAVASCRIPT:VOID(0))
PRODUCTS
(JAVASCRIPT:VOID(0))
SOLUTIONS
(JAVASCRIPT:VOID(0))
SUPPORT
(JAVASCRIPT:VOID(0))
DOWNLOADS
(JAVASCRIPT:VOID(0))
PROFESSIONAL
SERVICES
(JAVASCRIPT:VOID(0))
PARTNER
PROGRAMS
(JAVASCRIPT:VOID(0))
COMPANY
https://www.vmware.com/support/ws55/doc/ws_net_advanced_ipaddress.html 3/3