With Fusion Pro, you can add additional NAT configurations for scenarios in which a virtual machine shares the IP address and MAC address of your Mac.
By default, Fusion provides one [Share with my Mac] configuration that uses NAT. You can add additional NAT configurations to perform actions such as turning off the DHCP service or using a non-default subnet IP or subnet mask.
前提条件
- Fusion Pro ライセンスを所有していることを確認してください。
- 管理者パスワードを知っていることを確認してください。
手順
- Select and click [Network].
- Click the lock icon, enter the administrator password, and click [OK].
- Click the plus sign (+) under the list of networks.
- (オプション) If you want to rename a virtual network, double-click the name, enter a new name, and press Return.
- Allow virtual machines on the network to use NAT to connect to external networks.
- Select [Allow virtual machines on this network to connect to external networks (using NAT)].
- (オプション) Select the [Enable IPv6] check box.
- (オプション) Use the appropriate option to configure the [IPv6 Prefix] text box.
Option |
Description |
Manual |
Enter the IPv6 prefix in the text box. |
Automatic |
Leave the text box blank to allow an IPv6 prefix to generate automatically. |
- (オプション) Click the plus sign (+) under the Port Forwarding section for each port-forwarding configuration you want to add.
- (オプション) For each port-forwarding configuration you add, provide the following information and click [OK].
Host port |
A port number available on the Mac host. Verify that the port does not conflict with ports used by existing port forwarding entries. |
Type |
The appropriate protocol to use. |
Virtual Machine IP address |
The IP address of the virtual machine to which you want to forward the incoming requests. |
Virtual Machine Port |
The port number to use for requests on the specified virtual machine. The port might be the standard port, such as 80 for HTTP, or a nonstandard port if software running in the virtual machine is configured to accept requests on a nonstandard port. |
A port-forwarding configuration appears in the list of networks.
- (オプション) To connect the host system to this private network, select [Connect the host Mac to this network].
- (オプション) If you enabled IPv6 and want the Mac host to use IPv6 to communicate with virtual machines, manually add an IPv6 address to the NAT virtual network interface.
注: On Mac systems, the NAT virtual network interface does not automatically accept IPv6 address assignments.
- Open a terminal window on your Mac.
- Enter a command such as the following.
sudo ifconfig VirtualNetworkInterfaceName inet6 IPv6Prefix::1 up
Where
VirtualNetworkInterfaceName is a placeholder for the name of the virtual network interface, such as vmnet2, and
IPv6Prefix::1 is a placeholder for the IPv6 prefix, which has a format such as xxxx:xxxx:xxxx:xxxx::1.
- (オプション) To use a local DHCP service to distribute IP addresses to virtual machines on the network, select [Provide addresses on this network via DHCP].
- (オプション) To change the subnet IP address or subnet mask, modify the addresses in the [Subnet IP] and [Subnet Mask] text boxes.
- (オプション) To configure jumbo frame, select [Custom] from the [MTU] drop-down menu and enter a value between 72 bytes and 9194 bytes in the text box.
- Click [Apply].
結果
The network that you configured is now available to the virtual network adapters associated with virtual machines on your Mac.