Add a NAT Configuration
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.- Verify that you know the administrator password.
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.- Selectand clickNetwork.
- Click the lock icon, enter the administrator password, and clickOK.
- 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 theReturnkey.
- Allow virtual machines on the network to use NAT to connect to external networks.
- SelectAllow virtual machines on this network to connect to external networks (using NAT).On Big Sur hosts, the virtual machine gets IPv6 addresses if the host has IPv6 configured. If you use Fusion 12.1.2 or an earlier version with a Mac OS Big Sur host configured with IPv6, skip step 5.b.
- Select theEnable IPv6check box.
- Use the appropriate option to configure theIPv6 Prefixtext box.OptionDescriptionManualEnter the IPv6 prefix in the text box.AutomaticLeave 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 clickOK.Host portA port number available on the Mac host. Verify that the port does not conflict with ports used by existing port forwarding entries.TypeThe appropriate protocol to use.Virtual Machine IP addressThe IP address of the virtual machine to which you want to forward the incoming requests.Virtual Machine PortThe 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, selectConnect the host Mac to this network.TheConnect the host Mac to this networkcheck box is not available for Fusion 12.1.2 and earlier on MacOS Big Sur hosts.
- 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 ifconfigVirtualNetworkInterfaceNameinet6IPv6Prefix::1upWhereVirtualNetworkInterfaceNameis a placeholder for the name of the virtual network interface, such as vmnet2, andIPv6Prefix::1is 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, selectProvide addresses on this network via DHCP.TheDHCPcheck box is not available for Fusion 12.1.2 and earlier on MacOS Big Sur hosts.
- To change the subnet IP address or subnet mask, modify the addresses in theSubnet IPandSubnet Masktext boxes.
- To configure jumbo frame, selectCustomfrom theMTUdrop-down menu and enter a value between 72 bytes and 9194 bytes in the text box.The jumbo frame feature is not available for Fusion 12.1.2 and earlier on MacOS Big Sur hosts.
- ClickApply.
The network that you
configured is now available to the virtual network adapters associated with
virtual machines on your Mac.