Skip to content

Instantly share code, notes, and snippets.

@krishna1306
Last active August 9, 2023 04:28
Show Gist options
  • Save krishna1306/0ec15652995abbb3703a9bae7857904f to your computer and use it in GitHub Desktop.
Save krishna1306/0ec15652995abbb3703a9bae7857904f to your computer and use it in GitHub Desktop.
Add Host-Only Network to VMWare Fusion on Mac

VMWare Fusion (Mac) Network Adapter - Add Host Only Networks

Add a new network adapter

In the VM settings, add a new network adapter. Choose vmnet2 to vmnet7 - they come with their own IP address blocks.

Check if a bridge is created for that network on the Host

ifconfig

Check the IP address assigned to that bridge. It's usually the first host address in the network assigned to the custom host-only network you added earlier. Note: If a bridge is not created with the IP of the custom host-only network - then that network won't work

Notice a new interface in VM - Add IP

Typically, a new eth interface is added to VM. Give this interface the same IP as the custom network you added earlier

See if you can ping

Ping from host to the VM IP. Or ping Host bridge IP from the VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment