pls help. 2 NICs and attached NAS

mikersad

Member
Dec 13, 2015
3
0
21
Pls Help me please to configure proxmox 3.4

I am having server with 2 NICs , one is used to connect to LAN and over it to internet , in the second NIC is attached NAS and I want to have internet on NAS

How it can be done ?

NIC1 eth0
NIC2 eth1

vmbr0 10.0.0.201
GW 10.0.0.2

vmbr1 192.168.1.32
GW NO

NAS IP 192.168.1.33
GE 192.168.1.32
 
Are you saying you did something like this:

Internet <---> Nic-1 <--> Proxmox host <--> Nic-2 <--> NAS ?
possibly using a crossover cable ???



If so, then a simple fix would be:

Code:
Internet <---> Switch/router/modem <---> Nic-1 <--> Proxmox host
Internet <---> Switch/router/modem <---> Nic-2 <--> Proxmox Host
Internet <---> Switch/router/modem <---> NAS


If you wanna make sure that NAS traffic to Proxmox always flows via NIC-2 every single time then use subnetting to facilitate that for you.

e.g.
Switch/router/modem -> Ip = 192.168.1.1/24
Proxmox-Nic-1 -> Ip= 192.168.1.101/24 gateway=192.168.1.1
Proxmox-Nic-2 -> Ip= 192.168.2.101/24
NAS-Nic-1 -> IP = 192.168.1.201/24 gateway=192.168.1.1
NAS-Nic-1 -> IP = 192.168.2.201/24

Then you attach your NAS via 192.168.2.201 to Proxmox
 
Dear Q-wulf, thank you for your answer

Currently I am having Proxmox server with two physical NICs (eth0:10.0.0.201 vmbr0, eth1:192.168.1.32 vmbr1 ), default gateway on vmbr0 is 10.0.0.2 (internet router)

also we are having NAS Synology DS1512 ip 192.168.1.33 which is connected directly to proxmox NIC2 (eth1) which is having ip 192.168.1.32 vmbr1

from KVM machine in proxmox I can freely access the 192.168.1.33 (in virtual machine is also two internet adapters on different subnets)

What I want that NAS Synology can access the internet through Proxmox host , is it clearly possible ?


internet 10.0.0.2 <---> Nic-1 (10.0.0.201 <--> Proxmox host <--> Nic-2 192.168.1.32 <--> NAS 192.168.1.33
 
Yes, it is possible,

by sticking the NAS on the same switch as the proxmox-host (as in doing away with the direct attach NAS) . Then following the guide laid out in my post above.

This specifically
[...]
What I want that NAS Synology can access the internet through Proxmox host , is it clearly possible ?[...]

For academic reasons ONLY it is.
For practical reasons, it is not.
Stick the NAS on the same physical network as proxmox nic 1+2 and use subnet-magic to make sure data from Nas only gets send via nic 2 to proxmox.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!