Hello there!
First time poster here in desperate search of a fix to my issue im having.
So Im trying to run a Zorin OS 16.2 Lite VM inside my Truenas Scale 22.12.0 NAS. And my issue here is that the VM is refusing to connect to the internet. I followed all the steps during the setup process but the issue persists. Doesnt matter which driver i use, Intel or Virtio i get the same results. The machine can be pinged from the outside (Tested on my windows machine) but the machine cant ping any devices on my network. Howver pinging 1.1.1.1 gets a reply.
Could it be my Pihole instance running on the same machine messing something up or is the issue related to my router setup in some way ?
If it helps im running an AVM Fritz Box 6490 Cable router.
I would greatly apprechiate any help from the Linux gods here because im getting desperate to get this working.
is pihole a seperate VM?
what is currently handling DHCP and DNS for your network?
do you have any other VMs on truenas and do they work/not work?
are you using a linux bridge nic?
can you ping a internal machine by ip address and not name, or neither?
this looks to be DNS related (probably the pihole) from the limited info available.
Yes pihole is running in a container on the same machine.
Currently DHCP is handled by my router and DNS by pihole.
So far thats the only actual VM running on it besides the container for pihole.
Cant ping either ip or name
is everything using the pihole for DNS or just this one VM?
Everything.
Its network wide
Is the pihole set to a static ip and OUTSIDE of your DHCP range?
Did you set the ip of your pihole on your Fritzbox as only DNS?
I checked it and pihole is within that range.
And yes its set as the promary DNS with 1.1.1.1 as the failover
1 Like
Try adjusting the DHCP range above the ip of the pihole as a test… example: pihole = x.x.x.100, DCHP range = x.x.x.101 - x.x.x.254
1 Like
You should use the pihole as dhcp and dns and disable those features on your router. It would be easier than trying to make it work across 2 devices.
What is the output of ip a
on the Linux VM and ipconfig
on your windows machine?
Also, can you try the troubleshooting step in this - Virtual machine has no internet connection | TrueNAS Community
If the networking aspect of the container is not set up right… yeah, it won’t work. @YouSirName has the right idea.
Ok i am back.
ip a gives me that imgur. com/a/4NmEmDO
And ipconfig gives me this imgur. com/a/GSEQLPN
Also tried extending the DHCP range like @peanut42 suggested
Can you run nslookup one.one.one.one
on the Linux machine?
Did that and just got an error
Ok maybe the integrated NIC in my optiplex simply isnt playing along nicely.
I bought a Pcie NIC and once that arrives i will try and see if it works that way. If not i’ll just give up on this.
Good luck!
This would be good reading to prepare:
Holy shit it finally worked !
Guess the integrated NIC just wasnt playing well with Truenas.
Passthrough didnt work for some reason but virtio on the new NIC worked flawless.
1 Like