Question about public eth + private eth

jmjosebest

Renowned Member
Jan 16, 2009
192
40
93
Hi,

I'm interested to use a private LAN to comunicate Proxmox nodes and a NFS server.

My NFS servers is configured with eth0 in the public network and eth1 with a private IP.

My question is about how to configure the eth1 (private network) on the Proxmox node.
Can I add the private IP directly on the eth1 config or I need create a bridge?

EDIT: Also I'm interested to provide access inside the virtual machines to this private lan.

Thanks.
 
Last edited:
I have solved creating a new bridge,
this is my /etc/network/interfaces file:


Code:
auto lo
iface lo inet loopback


auto vmbr0
iface vmbr0 inet static
        address xxx.134.112.202
        netmask 255.255.255.0
        gateway xxx.134.112.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0


auto vmbr1
iface vmbr1 inet static
        address 192.168.1.12
        netmask 255.255.255.0
        broadcast 192.168.1.255
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0