How to configure separate NFS network

ihr

Member
Dec 25, 2022
40
5
13
Hello,

I've a test environment at home with 5 PCs. One of them is running a NAS server and the other 4 are running on Proxmox. The VMs are all stored in the NAS server and everything run on NFS. All PCs are on the same network 192.168.1.X/24 and everything works fine.

I decided to speed-up a bit the environment by splitting the network in two separate networks. One of the networks will have only NFS traffic between the NAS and the 4 PCs running proxmox. That network will not have internet connection, no router etc. It is just 5 static IP addresses connected to a 10Gb switch.

I've configured the hardware side and the 192.168.1.X/24 network works fine. Then I started to configure the new 192.168.5.X/24 network for the NFS traffic and here is where I start seen things that don't seem to be right.

Each server has 2 network cards. One is 10Gb (the new one).

Server 1, works OK.
Window-2.png

From this server I can ping 192.168.5.5 (the NAS server in the new network)


Server 2, doesn't work:
Cursor_y_Window.png
From this server, I can ping 192.168.5.5, but I can't ping back from 192.168.5.5 to 192.168.5.20

Server 3, doesn't work:
Window-2.png
Same as server 2, I can ping 192.168.5.5 but I can't ping back from 192.168.5.5 to 192.168.5.30

Server 4, doesn't work either:
Window-4.png
Same as server 2 and server 3.

I'm using an unmanaged switch from Netgear XS508M

What can I be doing wrong?

Thanks
 
Last edited:
I found the source of the PING issue. Servers 2,3 and 4 has firewall enabled. Server 1 had no firewall enabled.

Now I'm digging down to the second phase: How can I change the NFS shares ip address? the GUI does not allow me to do it directly so I'll have to find a configuration file...

The NAS server is not configured for any specific ip address so it should be sharing in all interfaces.
 
I managed to change /etc/pve/storage.cfg and update just the server ip address. Then I reboot one server and that didn't work at all. The error was at the NAS server level.

TASK ERROR: mount error: mount.nfs: access denied by server while mounting 192.168.5.5:/mnt/zpool/machines

so I need to do more on the NAS side
 
Just for the records. I managed to configure the NAS server properly and now everything works.

I just wanted to keep a note for others to know (and comment)

I purchased 5 network cards 10G, one with SFP connection.
I purchased 1 Netgear unmanaged switch model XS508M-100EUS to create a subnet just for the storage.

During today's tests and installation process I discovered an issue with the switch. The switch does not resist a power on-off-on cycle. You need to unplug all connected devices. Restart the switch and plug the devices one by one.

I've already opened a support case with Netgear because I need my devices to resist a power on-off-on event and this switch fails if that happens. I've not found in the market a similar product (10G unmanaged or managed switch with 8 ports for small business level) the price I've paid is around 500€ so it is really expensive!

I hope Netgear can move forward and fix/replace my unit.

I keep all this process here in case others want to run a similar configuration.