Router VM unable to connect to ISP modem

dwhacks

New Member
Apr 9, 2024
1
1
3
Long time lurker, first time poster.

Been running Proxmox for a few years "for fun". Recently wanted to try some different things with my home router (pfsense on bare metal) and thought I would test them in a proxmox VM. My ISP modem has two ethernet ports, and if I plug in into the two ports with my bare metal PFSense router I get two IPs. So, I thought adding another NIC to proxmox, I could then connect that NIC to the modem and use it as WAN on my PFsense VM...... Here's where the problems start!

I followed the PFsense wiki and set up two Linux Bridges in Proxmox. One is bridged to the second NIC and one is just "there" (I can connect VM's to it within proxmox, good enough for testing).

Problem is the nic will not get at IP from the modem. I even tried PCI passthrough with no luck. If I plug the second NIC into my main network switch it picks up an IP from the bare metal PFSense box without issue.

I tried unplugging my baremetal PFSence box from the modem, and restarting the modem, to see if maybe it didnt want to give two IP addresses anymore with no luck.

Any ideas?

Heres my interfaces:

Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface enp7s0 inet manual

iface enp1s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.2.6/24
        bridge-ports enp7s0
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0

auto vmbr3
iface vmbr3 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
#pfsenseLan

auto vmbr2
iface vmbr2 inet manual
        gateway 24.71.68.1
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0
#pfsenseWan

source /etc/network/interfaces.d/*
 
  • Like
Reactions: frank200987

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!