VM cannot ping FreeNAS therefore cannot mount CIFS

Status
Not open for further replies.

BahBah

Dabbler
Joined
May 14, 2013
Messages
13
Hi

FreeNAS version 11.1-U4

My FreeNAS is 192.168.1.10
My VM 192.168.1.11 gateway 192.168.1.1 (router)

I cannot ping my FreeNAS from the VM. I created it using the WYSIWYG wizard.

cat /etc/resolv.conf always shows (and overwrites) nameserver as 127.0.0.53

Router is pfSense. No DHCP. Only static IPs.

I can ping my Windows machine from VM fine 192.168.1.8

Can't copy and paste through vnc so ifconfig highlights are:

inet 192.168.1.11
netmask 255.255.255.0
broadcast 192.168.1.255
inet6 irrelevant as no ipv6 on network.
Code:
mount -a
mount error: could not resolve address for 192.168.1.10:: Unknown error

Mounting SMB shares from Windows PC works fine.
Code:
route -n on VM
Destination	  Gateway		   Genmask
0.0.0.0			   192.168.1.1	 0.0.0.0
1902.168.1.0	0.0.0.0			  255.255.255.0

Any help would be greatly appreciated.
 
Last edited by a moderator:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
I created it using the WYSIWYG.
WYSIWYG is a term from publishing meaning What You See Is What You Get with regard to how a document is previewed on screen and prints in the same format.
This has no relevance to FreeNAS in any way at all.
FreeNAS has a GUI (Graphical User Interface) and the use of it is what I guess you are talking about but you have left so many details out that it is difficult to say.
cat /etc/resolv.conf always shows (and overwrites) nameserver as 127.0.0.53
What system is giving you this?
 

BahBah

Dabbler
Joined
May 14, 2013
Messages
13
Hi Chris

Yep, fair enough. Wrong acronym usage. I meant wizard.

The nameserver is gotten through a simple reboot of the VM. If I change it to 192.168.1.1 it resets after a reboot.

If I'm short of information can you please let me know what else is needed to diagnose this?

Many thanks
 
D

dlavigne

Guest
Were you able to resolve this? If not, how are you setting the DNS address?
 

BahBah

Dabbler
Joined
May 14, 2013
Messages
13
Hi

No I haven't been able to resolve it. I can't ping the host by IP, let alone through name resolution.

Regardless, when I set 192.168.1.1 (pfsense proven working) as my nameserver in /etc/resolv.conf it gets overwritten every reboot and replaced by 127.0.0.53

I already have it set in /etc/network/interfaces

auto lo
iface lo inet loopback

auto enp0s3
iface enp0s3 inet static
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

But as I said, I can't ping the FreeNAS host (192.168.1.10) so name resolution would just be the icing on the cake.

Thank you
 
Last edited by a moderator:
Status
Not open for further replies.
Top