KVM: 2 NICs and 2 networks on host and guests

  • Thread starter Thread starter guebs
  • Start date Start date
G

guebs

Guest
Hi,

I've Proxmox installed on a server with two NICs. The first NIC connects to public network and the second one to the private network.

I've the host configured this way and it works correctly (can access both networks):

Code:
auto vmbr0
iface vmbr0 inet static
        address x.x.x.59
        netmask 255.255.255.0
        gateway x.x.x.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr1
iface vmbr1 inet static
        address 192.168.10.59
        netmask 255.255.255.0
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0

The problem is that I need the same setup on guests, but I'm unable to get it working. Guests can access public network but can't access the private one.

What should be the content of /etc/network/interfaces in hots and guests in order to make it work?

Any help will be really appreciated.

Many thanks,
 
I've managed to get it working. Looks like I forgotted to assign the second network device to the guest from the proxmox interface.

Many thanks for such a great product
 

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!