Proxmox Private network

dkraklan

New Member
Sep 29, 2016
2
0
1
31
Hello,

I'm looking to setup a little testing environment for me to mess around with some new technologies i'm interested in, nginx, pfSense, and some programming projects. To do this I want to setup a reverse proxy nginx load balancer and have the web servers behind a the load balancer on private IP's.

Here's a diagram of my planned network.
4db58bc288.png


I'll run PFsense on as the router for the virtual network, My question is how can I create that private network, from some research online and the wiki I believe I can make a private network by changing my interfaces file to this

Code:
auto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
        address xxx.xxx.xxx.178
        netmask 255.255.255.248
        gateway xxx.xxx.xxx.177
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr1
iface vmbr1 inet static
        address  10.0.0.1
        netmask  255.255.255.0
        bridge_ports none
        bridge_stp off
        bridge_fd 0

Now my question is I'll be able to add 2 vmbr's to the pfsense box correct? I would test but i'm having issues with my proxmox web interface crashing whenever i try to edit things(vms, networks, firewall) or create things(pools,networks, etc. That is a unrelated matter though.

I'd like to hear the communities thoughts on this and if they have any suggestions, thoughts, comments.

Thanks,

Dylan
 
Ok so I've succesfully been able to get the 2 VM's behind the pfsense router workign and routing out to the internet. But now I have 2 other LXC containers that aren't behind the pfSense router and they're networking has quit working now that I have changed my interface file like this.

Code:
auto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
        address 192.154.102.178
        netmask 255.255.255.248
        gateway 192.154.102.177
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr1
iface vmbr1 inet static
        address  10.0.0.1
       netmask  255.255.255.0
       bridge_ports none
       bridge_stp off
       bridge_fd 0
If I comment out the vmbr1 section my lxc containers start working.
Any thoughts?
 
Last edited:

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!