This page tells you what to look at rather than how to configure every router
and switch. The output of these checks, plus the make and model of your
equipment, is what you need to work out a fix with its manual or an AI
assistant.
The steps are the same on Ubuntu Server 22.04 and 24.04.
For a machine that has dropped off the platform entirely, start with
Offline Machine.
Steps 1 and 2 only read state and are safe with rentals running. Step 3 fills
the line while it runs, and step 4 needs a port no instance is using. The fixes
these checks lead to are listed under Changes that interrupt rentals, at the
end of this page.
1. Check the platform’s view
Your machine’s card under Host → Machines shows the upload speed, download speed, and port count Vast has measured. Those are the numbers that count. If any of them is missing, fix that first: a machine with missing data there fails the self-test as not rentable. The self-test then checks speed, stability, and open ports directly:2. Check the machine
Run this on the machine:
A name starting
wl is Wi-Fi, which does not qualify however fast it tests. A
bond, VLAN, or VPN interface (bond0, enp1s0.100, wg0) has no link of its
own, so run the ethtool line against each of its physical ports instead.
A lower speed or Half duplex is a physical fault. Change one part at a time,
so you know which one it was.
dynamic means the address is a DHCP lease. Without a reservation, a reboot can
hand the machine a new address while your forwarding rule still points at the
old one. A static address must sit outside the router’s DHCP pool.
A public address that differs from your router’s WAN address means NAT you do
not control. A router WAN address inside 100.64.0.0/10 is CGNAT. Neither can
host.
A range that has to grow is two changes: widen the rule on your router, then
update the range as described in the
host setup guide.
A forwarded range that overlaps ip_local_port_range makes rentals fail to
start at random, because the machine’s own outbound connections take ports an
instance needs.
A single DNS server, usually your router, can take the machine offline on its
own.
000 from console.vast.ai means the machine could not connect, so something
is filtering its outbound traffic.
For link errors, open the Network tab in
Machine Metrics. It charts RX and TX errors and drops
per sample, so a healthy interface reads a flat zero. Errors that keep
appearing point at a cable, transceiver, or switch port long before the link
fails.
To find where packet loss starts:
3. Test the line
Measure from the machine itself, not from a laptop on the same network.speedtest-cli can under-read fast lines. On a gigabit line or faster, confirm
the figure with iperf3 against a public iperf3 server.
Renters move large models and datasets in both directions. If your contract has
a data cap or fair-use limit, expect to hit it.
4. Test the ports from outside
Test the lowest and the highest port in your range, over TCP and over UDP, from a different network such as a phone hotspot or a VPS. A test from inside your own network proves nothing, because your router can treat its own public address differently from the internet. If you run a host firewall, allow the range in it first, because the test listener goes through it. On the machine, as your normal user and on a port no instance is using:-u added to
both commands to test UDP. UDP has no handshake, so the line appearing on the
machine is the only proof.
Several machines on one network
Every machine still needs its own 500 Mbps each way. Once machines share a line, they share everything between them and the internet, and the network gets worse as you add machines without any one of them changing.- The uplink. It needs 500 Mbps x the number of machines in each direction, so six machines need 3 Gbps symmetric. Measure it by running speed tests on every machine at once. If the total stops rising as you add machines, the uplink is full.
- The link between your switch and your router. This is usually the real bottleneck, not the ISP line. Eight machines behind a 1 Gb switch uplink share 1 Gb, about 125 Mbps each under load. Use a faster uplink, or aggregate several links (LACP). Aggregation adds capacity across many connections, but any single connection still tops out at the speed of one member link.
- Cables on every machine. One machine with a bad cable floods the shared switch with retransmits and slows its neighbors. Check link speed and errors on all of them, not just the slow one.
- Port ranges. One public IPv4 address is one set of ports. Give each machine its own range, sized to its GPU count, with no overlaps and room to grow. Keep each machine’s range and LAN address written down together, and test that each range reaches the right machine.
- The router. Every renter connection is an entry in the router’s NAT table. Consumer routers run out at fleet scale and start dropping new connections while existing ones keep working. Some also cap the number of forwarding rules they can hold.
Security baseline
Renters run their own code on your machines, with network access. Set up the network on that assumption.- Isolate the hosting machines. Put them on their own VLAN or behind their own router, away from personal computers, NAS boxes, cameras, and anything else on your home or office network.
- Forward only what hosting needs. That is the port range, plus SSH if you manage the machine from outside. Never use a router’s DMZ host or “forward all ports” setting. Turn off UPnP on the router: Vast does not use it, and it lets anything on your network open ports to the internet.
- Keep management interfaces off the internet. BMC consoles (IPMI, iDRAC, iLO) and router and switch admin pages should be reachable only from your own network or a VPN, never forwarded, and never left on default passwords.
- SSH keys only, a different key for each machine. Both are verification requirements; see Disable SSH Password Login. Limit SSH to the addresses you connect from, or reach it over a VPN. A VPN on the machine must not become its default route, because renters have to reach the machine on its own public address.
- Keep router and switch firmware current. Update inside a maintenance window, and re-test the port range afterwards. A firmware update is the most common way forwarding rules get lost.
- A host firewall is optional. If you run one, allow SSH and your range
inbound and leave outbound open. Never flush the machine’s firewall rules
(
iptables -F,nft flush ruleset): Docker and the Vast daemon install their own, and instances break without them.