Red Hat NETSCAPE MANAGEMENT SYSTEM 4.5 Uživatelský manuál Strana 222

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 286
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 221
Networking
222
www.vmware.com
Forcing a Virtual Adapter to Use
Promiscuous Mode
For security reasons, guest operating systems are not normally allowed to set their
virtual Ethernet adapters to use promiscuous mode.
In some circumstances, you may need to use the virtual Ethernet adapters in
promiscuous mode. To enable this use, you must set the PromiscuousAllowed
configuration variable to yes. To do so, follow these steps.
1. Check the Edit Configuration page of the VMware Management Interface to
determine what network the virtual Ethernet adapter is using. For this example,
assume that the Networking section of the page shows the adapter is using
vmnic0.
2. Log in to the server’s console operating system and enter the following
command:
echo "PromiscuousAllowed yes" > /proc/vmware/net/vmnic0/config
This allows the guest operating systems in all virtual machines using vmnic0 to
enable promiscuous mode.
If the adapter is using a different network, such as vmnet_0, make the
appropriate substitution in the command.
3. Take the appropriate steps in the guest operating system to enable promiscuous
mode on the virtual network adapter.
You may want to allow only some adapters on a particular network to use
promiscuous mode. In that case, you can selectively disable promiscuous mode based
on the MAC address of the virtual machine’s Ethernet adapter. To do so, follow these
steps.
1. Connect to the virtual machine with the remote console and use the
appropriate guest operating system tools to determine the MAC address of the
virtual Ethernet adapter.
2. Log in to the console operating system and enter the following command:
echo "PromiscuousAllowed no" > /proc/vmware/net/vmnic0/<MACAddress>
In place of <MACAddress>, substitute the virtual Ethernet adapter’s MAC
address in the standard format 00:05:69:XX:YY:ZZ. If the adapter is using
Zobrazit stránku 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 285 286

Komentáře k této Příručce

Žádné komentáře