VMware Workstation 7 Manual de usuario Pagina 316

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 512
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 315
Workstation User’s Manual
316 VMware, Inc.
Using Virtual Network Adapters in Promiscuous Mode on
a Linux Host
Workstationdoesnotallowthevirtualnetworkadaptertogointopromiscuousmode
unlesstheuserrunningWorkstationhaspermissiontomakethatsetting.This
restrictionfollowsthestandardLinuxpracticethatonlytherootusercanputanetwork
interfaceintopromiscuousmode.
WhenyouinstallandconfigureWorkstation,youmustruntheins
tallationastheroot
user.Workstationcreatesthevmnetdeviceswithrootownershipandrootgroup
ownership,whichmeansthatonlytherootuserhasreadandwritepermissionstothe
devices.
Tosetthevirtualmachine’snetworkadaptertopromiscuousmode,youmustlaunch
Workstationastherootus
erbecauseyo
umusthavereadandwriteaccesstothevmnet
device.Forexample,ifyouareusingbridgednetworking,youmusthaveaccessto
/dev/vmnet0.
Tograntselectedotherusersreadandwriteaccesstothevmnetdevice,youcancreate
anewgroup,addtheappropriateuserstothegr
oup,andgrantthatgroupreadand
writeaccesstotheappropriatedevice.Youmustmakethesechangesonthehost
operatingsystemastherootuser(su -).Forexample,youcanenterthefollowing
commands:
chgrp <newgroup> /dev/vmnet0
chmod g+rw /dev/vmnet0
Here<newgroup>isthegroupthatshouldbeabletosetvmnet0topromiscuousmode.
Foralluserstobeabletosetthevirtualnetworkadapter(/dev/vmnet0intheexample)
topromiscuousmode,runthefollowingcommandonthehostoperatingsystemasthe
rootuser:
chmod a+rw /dev/vmnet0
Using NAT
NATprovidesawayforvirtualmachinestousemostclientapplicationsoveralmost
anytypeofnetworkconnectionavailabletothehost.Theonlyrequirementisthatthe
networkconnectionmustsupportTCP/IP.
NATisusefulwhenyouhavealimitedsupplyofIPaddressesorareconnectedtothe
netw
orkthrougha
nonEthernetnetworkadapter.NATworksbytranslatingaddresses
ofvirtualmachinesinaprivateVMnetnetworktotheaddressofthehostmachine.
Whenavirtualmachinesendsarequesttoaccessanetworkresource,itappearstothe
networkresourceasiftherequestiscomingfromthehostmac
hin
e.
Vista de pagina 315
1 2 ... 311 312 313 314 315 316 317 318 319 320 321 ... 511 512

Comentarios a estos manuales

Sin comentarios