Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
vsp_41_esx_server_config.pdf
Скачиваний:
10
Добавлен:
06.02.2016
Размер:
2.67 Mб
Скачать

Chapter 5 Advanced Networking

5Choose whether to obtain the DNS server address automatically or use a DNS server address.

NOTE DHCP is supported only if the DHCP server is accessible to the service console. The service console must have a virtual interface (vswif) configured and attached to the network where the DHCP server resides.

6Specify the domains in which to look for hosts.

7On the Routing tab, change the default gateway information as needed.

Select a gateway device only if you have configured the service console to connect to more than one subnet.

8Click OK.

MAC Addresses

MAC addresses are generated for virtual network adapters that the service console, the VMkernel, and virtual machines use.

In most cases, the generated MAC addresses are appropriate. However, you might need to set a MAC address for a virtual network adapter, as in the following cases:

nVirtual network adapters on different physical hosts share the same subnet and are assigned the same MAC address, causing a conflict.

nTo ensure that a virtual network adapter always has the same MAC address.

To circumvent the limit of 256 virtual network adapters per physical machine and possible MAC address conflicts between virtual machines, system administrators can manually assign MAC addresses. VMware uses the Organizationally Unique Identifier (OUI) 00:50:56 for manually generated addresses.

The MAC address range is 00:50:56:00:00:00-00:50:56:3F:FF:FF.

You can set the addresses by adding the following line to a virtual machine‘s configuration file:

ethernet<number>.address = 00:50:56:XX:YY:ZZ

where <number> refers to the number of the Ethernet adapter, XX is a valid hexadecimal number between 00 and 3F, and YY and ZZ are valid hexadecimal numbers between 00 and FF. The value for XX must not be greater than 3F to avoid conflict with MAC addresses that are generated by the VMware Workstation and VMware Server products. The maximum value for a manually generated MAC address is:

ethernet<number>.address = 00:50:56:3F:FF:FF

You must also set the option in a virtual machine’s configuration file:

ethernet<number>.addressType="static"

Because VMware ESX virtual machines do not support arbitrary MAC addresses, you must use the above format. As long as you choose a unique value for XX:YY:ZZ among your hard-coded addresses, conflicts between the automatically assigned MAC addresses and the manually assigned ones should never occur.

MAC Address Generation

Each virtual network adapter in a virtual machine is assigned its own unique MAC address. Each network adapter manufacturer is assigned a unique three-byte prefix called an Organizationally Unique Identifier (OUI), which it can use to generate unique MAC addresses.

VMware has the following OUIs:

nGenerated MAC addresses

nManually set MAC addresses

nFor legacy virtual machines, but no longer used with ESX

VMware, Inc.

61

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]