Specifications

Table Of Contents
VMware Server Virtual Machine Guide
172 VMware, Inc.
! “Routing!Between!Two!HostOnly!Networks”!on!page 185
! “Using!Virtual!Ethernet!Adapters!in!Promiscuous!Mode!on!a!Linux!Host”
Selecting IP Addresses on a Host-Only Network or NAT
Configuration
A!hostonly!network!uses!a!private!virtual!network.!The!host!and!all!virtual!machines!
configured!for!hostonly!networking!are!connected!to!the!network!through!a!virtual!
switch.!Typically!all!the!parties!on!this!private!network!use!the!TCP/IP!protocol!suite,!
although!other!communication!protocols!can!be!used.!
A!network
!address!translation!(NAT)!configuration!also!sets!up!a!private!network,!
which!must!be!a!TCP/IP!network.!The!virtual!machines!configured!for!NAT!are!
connected!to!that!network!through!a!virtual!switch.!The!host!computer!is!also!
connected!to!the!private!network!used!for!NAT!through!a!host!virtual!adapter.
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!Server.!Note!
that!this!server!does!not!service!virtual!(or!physical)!machines!residing!on!bridged!
networks.!
Addresses!can!also!be!assigned!statically!from!a!pool!of!
addresses!that!are!not!assigned!
by!the!DHCP!server.
If!hostonly!networking!is!enabled!when!VMware!Server!is!installed,!the!network!
number!to!use!for!the!virtual!network!is!automatically!selected!as!an!unused!private!IP!
network!number.!To!find!out!which!network!is!used!on!a!Windows!host,!choose!
Host!
>!Virtual!Network!Settings!and!check!the!subnet!number!associated!with!the!virtual!
network.!On!a!Linux!host,!run!ifconfig!in!a!terminal.
A!NAT!configuration!also!uses!an!unused!private!network!automatically!selected!
when!you!install!VMware!Server.!To!find!out!which!network!is!used!on!a!Windows!
host,!
choose!Host!>!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!than!statically!assigning!them.!Most!
Windows!operating!systems,!for!example,!come!preconfigured!to!use!DHCP!at!boot!
time,!
so!Windows!virtual!machines!can!connect!to!the!network!the!first!time!they!are!
booted,!without!additional!configuration.!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!might!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!to!