Two nic's, one for local VMs, one for internet and updates

Jun 21, 2017
5
0
1
Hi!

I have an issue where I want (if possible) to configure the network like so:

Nic1; static ip for use with the bridge and VMs / LXCs, part of a small subnet inside a huge subnet, so i need the gateway)

Nic2: Dhcp (internet) for updating purposes

Is this possible? And how. I can't find a configuration that works.
 
Last edited:
is the proxmox host meant to be the gateway, so outgoing traffic VM is traffic is supposed to reach the outside via Nic 2 ?

In that case you need something similar to
https://pve.proxmox.com/pve-docs/ch..._nat_with_span_class_monospaced_iptables_span

replace the static configuration of eth0 with DHCP

or is the gateway of the VMs meant to be outside the LAN ? then you could use the default bridge mode

Not exactly.

Nic1: vmbr0 (Static)
---------------------------------} No bridge
Nic2: Wan (Dhcp)

Wan is strictly for updating proxmox / debian.
 

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!