Skip to content
Back to skills

Vmware Networking

ASecurity

VMware VM networking from Claude Code. NAT, host-only and bridged networks, finding a guest's IP address, NAT port forwarding, isolating a guest for untrusted code, and what to do when the host cannot reach a guest at all (a VPN or firewall in the way) by switching to hypervisor channels that need no network. Use when a task involves a guest's network, its IP address, reaching a service in a VM, or cutting a VM off from the network.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentspythonrustbashperformance

Works with

  • claude code

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add dboudreau00/VMWare-VNC-Control-for-Claude --skill vmware-networking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vmware Networking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vmware Networking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dboudreau00-vmware-networking/badge)](https://www.skillsdirectory.com/skills/dboudreau00-vmware-networking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vmware-networking
description: VMware VM networking from Claude Code. NAT, host-only and bridged networks, finding a guest's IP address, NAT port forwarding, isolating a guest for untrusted code, and what to do when the host cannot reach a guest at all (a VPN or firewall in the way) by switching to hypervisor channels that need no network. Use when a task involves a guest's network, its IP address, reaching a service in a VM, or cutting a VM off from the network.
license: MIT
compatibility: VMware Workstation, Player or Fusion; host network changes need administrator rights; Python 3.10+.
---

# Networking

Below, `vmctl.py` is `python "${CLAUDE_SKILL_DIR}/../vmware-vmrun/vmctl.py"`
and `vmx.py` is `python "${CLAUDE_SKILL_DIR}/../vmware-vmx/vmx.py"`.

## First: does the task need the network at all?

Most VM automation does not. Commands, files, status and screens all have
hypervisor channels that work with no network adapter: guest operations
(`vmctl.py run`, `push`, `pull`), guestinfo variables (`vmctl.py var`), serial
ports, shared folders, VNC. On some hosts the network is the one channel that
does not work: a VPN's LAN blocking or a host firewall can refuse every
connection from the host to a NAT guest (a TCP connect failing with "Permission
denied", WSAEACCES, is a firewall, not a routing problem) while all the
hypervisor channels keep working. Reach for the network when the task is about
the network: a service in the guest, package downloads, traffic analysis.

## The networks

```bash
vmctl.py net list                 # vmnet1 host-only, vmnet8 NAT, with subnets
vmctl.py status VM.vmx            # includes the guest's IP when Tools report it
vmctl.py wait-ip VM.vmx --timeout 300
```

| Type | `.vmx` | Guest can reach | Host can reach the guest |
|---|---|---|---|
| NAT (vmnet8) | `ethernet0.connectionType = "nat"` | the internet, through the host | yes, unless a VPN or firewall blocks it |
| Host-only (vmnet1) | `"hostonly"` | the host and other host-only guests | yes, same caveat |
| Bridged (vmnet0) | `"bridged"` | the physical LAN as a peer | as any LAN machine |
| None | `ethernet0.present = "FALSE"` | nothing | no |

`net list` and `net forwards` work without administrator rights (verified).
The NAT and DHCP settings live in `vmnetnat.conf` and `vmnetdhcp.conf`
(`C:\ProgramData\VMware` on Windows), served by the VMware NAT and VMnetDHCP
services; the Virtual Network Editor (`vmnetcfg`) edits them as administrator.

## Port forwarding on the NAT network

```bash
vmctl.py net forwards vmnet8
vmctl.py net forward-set vmnet8 tcp 8022 192.168.102.220 22 --description ssh-lab
vmctl.py net forward-delete vmnet8 tcp 8022
```

`forward-set` changes the host's NAT configuration for every VM on vmnet8 and
may need an elevated prompt; ask before changing it. The guest IP comes from
`vmctl.py status`. Give the guest a DHCP reservation, or re-check the IP
after each boot, since the lease can change.

## Isolating a guest

```bash
vmx.py isolate VM.vmx --no-network       # VM off
```

That removes every network adapter's connection and turns off copy, paste,
drag and drop and shared folders. Verified: `vmctl.py push` and `run` still
worked on an isolated guest, so it stays drivable. For a guest that must talk
to a fake internet, use host-only with a sinkhole VM on the same network
instead of NAT.

## Adapters

- `e1000` works everywhere and needs nothing else.
- `e1000e` (Windows 8 and later) and `vmxnet3` (best performance; Linux has the
  driver built in, Windows gets it with VMware Tools) sit on PCIe root ports;
  a `.vmx` without `pciBridge4` to `pciBridge7` has crashed `vmware-vmx` at
  power-on. `mkvm.py` writes the bridges; `vmx.py check` flags their absence.

## Boot delays without a network

An Ubuntu cloud image with no adapter waits for the network during boot:
cloud-init finished 163 s into the first boot, against 16 s with NAT. Windows
guests do not wait. Either keep an adapter on a host-only network, or tell
systemd not to wait (`systemctl mask systemd-networkd-wait-online.service`).

## Traffic capture

`vnetsniffer /w file.pcap VMnet8` needs an elevated prompt (it exited -1 with
no output unelevated). Without elevation, run `tcpdump` in the guest and
`vmctl.py pull` the file; see vmware-debug-forensics.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.