Using static IPs in my VMs are impossible....

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Nullifii

New Member
Jun 14, 2025
1
0
1
Hey all,
I wanted to know if anyone else is having issues connecting their VMs to the internet as soon as they set a static IP on the VM. I haven't been able to find a single thread that had the same issue as mine and I have been banging my head against the wall for weeks now, trying to solve it.

The issue:
Whenever I set either (or both) of my VMs to a static IP configuration, they will lose all outgoing internet access. I have already confirmed that none of the devices on my network are asking for these IPs. I can ping the VMs sometimes, meaning that sometimes the ping comes back, other times it times out.

First and foremost, below are the configurations for both TrueNAS and my VMs:

TrueNAS Scale Version: 25.04.1
Network configuration: firefox_OfTydEFpyI.png

VM 1 (Ubuntu 24.04 LTS):
netplan configs:

Static IP Configuration:

network:
version: 2
renderer: networkd
ethernets:
enp5s0:
dhcp4: false
addresses:
- 192.168.1.253/24
routes:
- to: default
via: 192.168.1.1
nameservers:
addresses: [1.1.1.1, 1.0.0.1]

DHCP Configuration:

network:
version: 2
renderer: networkd
ethernets:
enp5s0:
dhcp4: true

(This forum removes the spaces for this configuration but I have already confirmed that it has the correct spacing.)

VM 2 (HomeAssistant OS):
firefox_ZGLh2r3BjV.png

If anyone needs more information from me I will post it ASAP. I don't want to move off of TrueNAS but I'm really starting to consider it because this issue wont go away.

Dont know if this is related but I also keep getting this error in my logsfirefox_9ZuToUfYP6.png
 
Last edited:

seany

Member
Jul 14, 2021
31
25
18
I don't know if this has changed in 25, but in 24 at least you need to edit the nic settings on the VM and turn on "Trust Guest Filters" iirc