2nd NIC for WAN

hidalgo

Renowned Member
Nov 11, 2016
60
0
71
58
I’m very new to Proxmox and thinking about to migrate my ESXi 6 host to Proxmox. On my host (home lab) I have 2 NICs and a virtual pfSense running on my ESXi.
NIC1 is WAN and getting IPv4 and IPv6 from my ISP, NIC2 is connected to my LAN with VLAN ID 10 and VLAN ID 99 is the management network of my ESXi.
How shoud I do this with Proxmox?
 
Now I’m a step further. I got my 2 NICs running and reach my Proxmox on VLAN ID 99.
Code:
/etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto vmbr0
iface vmbr0 inet manual
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr10
iface vmbr10 inet manual
        bridge_ports eth1.10
        bridge_stp off
        bridge_fd 0
        bridge_vlan_aware yes

auto vmbr99
iface vmbr99 inet static
        address  10.0.11.1
        netmask  255.255.255.0
        gateway  10.0.11.254
        bridge_ports eth1.99
        bridge_stp off
        bridge_fd 0
        bridge_vlan_aware yes
But now I cannot reach the internet from my Proxmox. How to configure Proxmox to do so? I only get 1 public IP address from my ISP so it’s not possible to have a second trunk to the internet. It has to go through the pfSense WAN connection. Thanks for some advice.