pfSense behind Proxmox - getting two IP's

j0hsm1tty

New Member
Jul 22, 2023
3
4
1
Hi there!

Since a few weeks I'm playing around with pfSense as a VM on Proxmox.
I'm really having fun in the learning process and slowly getting a hang of it.

I bought a Protectli VP2420 with one port (WAN) to my Ziggo modem -not in bridge mode yet-
And one port (LAN) to a Unify managed switch.

At the moment I try to get my setup ready and steady so I can ask my ISP to set the modem in bridge mode.
For now it's playing around and learn how everything works great, so I get confident enough to put this device straight to work as supposed.

My question:
The Proxmox (named fuseb0x) gets one IP from from the modem as well the pfSense. Is this the correct way? And why does this happen? Because I thought pfSense should've get his IPadres from Proxmox.

fuseb0x64:62:66:21:f5:13192.168.178.36/24
2001:1c01:4606:f900:6662:66ff:fe21:f513
2500Ethernet
4
pfSensefe:c0:c2:5a:94:18192.168.178.91/24
2001:1c01:4606:f900::f3
2500Ethernet
4

Because when I request my ISP to bridge the router, i won't get two IP's and this probably will cause problems, right?

Code:
auto lo
iface lo inet loopback

iface enp1s0 inet manual

iface enp2s0 inet manual

iface enp3s0 inet manual

iface enp4s0 inet manual

auto vmbr0
iface vmbr0 inet dhcp
    bridge-ports enp1s0
    bridge-stp off
    bridge-fd 0

auto vmbr1
iface vmbr1 inet static
    address 192.168.0.200/24
    gateway 192.168.0.1
    bridge-ports enp2s0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094

Having this said, I can't get a ping out from my Proxmox out to the internet. The installed VM's do have internet.

Code:
root@fuseb0x:~# ping google.nl
ping: google.nl: Temporary failure in name resolution
root@fuseb0x:~#

What do I do wrong? Any ideas of where to look?

Thanks in advance!
 
Because when I request my ISP to bridge the router, i won't get two IP's and this probably will cause problems, right?
yes
The Proxmox (named fuseb0x) gets one IP from from the modem as well the pfSense. Is this the correct way? And why does this happen? Because I thought pfSense should've get his IPadres from Proxmox.
u must set vmbr0 to manual
connect to proxmox via 192.168.0.200
connect pfsense to vmbr0=WAN, vmbr1=LAN
configure pfsense to connect to internet in bridge mode
set firewall rules on pfsense
set gateways for all vms, pve and pcs to pfsense LAN IP
Having this said, I can't get a ping out from my Proxmox out to the internet.
your nameserver is missing, u can set it up via webui
 

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!