Obligatory: new to proxmox, and trying to understand networking.
TL;DR: container needs to look like it has:
Simplified setup:
internet > pfsense > proxmox node > container (plex)
more detailed setup:
internet > pfsense address allocated for my use [wan gateway 12.34.56.777, WAN_BR IP 12.34.56.778 /28, VLANid=1000] > proxmox node [physical nic of interest = enp12s0] > ct101[veth = eth0]
*Note: the default bridge (vbr0) is already created and working on a different physical interface (enp6s0) on the node, connected to the LAN on pfsense.
Details:
The primary pfsense router is configured to use transparent bridging, a wan bridge (WAN_BR), and tagged vlans. I was given a WAN_BR IP address with corresponding subnet mask (basically a DMZ), that I thought would allow me to connect a container directly (unprotected) to the internet. Upon looking at the rules set for this IP address, it appears they are all set correctly.
I need to connect my lxc container directly to the web via the WAN_BR IP, subnet, and vlan tag. I think i have tried every configuration and haven't gotten anything to work, and I haven't found a whole lot of information with tagged vlans in containers.
I'd be very grateful if somebody could point me in the right direction, with some insight as to how it is working.
What I thought would work was this:
pve node config
ct101 config (web interface):
eth0, bridge=vmbr1000, firewall=no, vlantag=1000, ip=12.34.56.778 /28, gateway=12.34.56.777
Does the bridge need an ip and gateway address? Or just the container? Both? And why/why not?
Is this possible under proxmox?
For what it's worth, there is another plex server on the same network using the same setup under vmware (in a VM) and it works flawlessly. I am trying to reproduce this using proxmox and an lxc container.
Thanks in advance
TL;DR: container needs to look like it has:
IP = 12.34.56.778 /28 with VLANid=1000,
gateway = 12.34.56.777 to the pfsense router for unfiltered internet access (plex server).
gateway = 12.34.56.777 to the pfsense router for unfiltered internet access (plex server).
Simplified setup:
internet > pfsense > proxmox node > container (plex)
more detailed setup:
internet > pfsense address allocated for my use [wan gateway 12.34.56.777, WAN_BR IP 12.34.56.778 /28, VLANid=1000] > proxmox node [physical nic of interest = enp12s0] > ct101[veth = eth0]
*Note: the default bridge (vbr0) is already created and working on a different physical interface (enp6s0) on the node, connected to the LAN on pfsense.
Details:
The primary pfsense router is configured to use transparent bridging, a wan bridge (WAN_BR), and tagged vlans. I was given a WAN_BR IP address with corresponding subnet mask (basically a DMZ), that I thought would allow me to connect a container directly (unprotected) to the internet. Upon looking at the rules set for this IP address, it appears they are all set correctly.
I need to connect my lxc container directly to the web via the WAN_BR IP, subnet, and vlan tag. I think i have tried every configuration and haven't gotten anything to work, and I haven't found a whole lot of information with tagged vlans in containers.
I'd be very grateful if somebody could point me in the right direction, with some insight as to how it is working.
What I thought would work was this:
pve node config
Code:
auto lo
iface lo inet loopback
iface enp6s0 inet manual
iface enp7s0 inet manual
iface enp11s0 inet manual
iface enp12s0 inet manual
auto vmbr0
iface vmbr0 inet static
address ip.of.pve.node
netmask 255.255.255.0
bridge_ports enp6s0
bridge_stp off
bridge_fd 0
auto vmbr1000
iface vmbr1000 inet manual
bridge_ports enp12s0
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
ct101 config (web interface):
eth0, bridge=vmbr1000, firewall=no, vlantag=1000, ip=12.34.56.778 /28, gateway=12.34.56.777
Does the bridge need an ip and gateway address? Or just the container? Both? And why/why not?
Is this possible under proxmox?
For what it's worth, there is another plex server on the same network using the same setup under vmware (in a VM) and it works flawlessly. I am trying to reproduce this using proxmox and an lxc container.
Thanks in advance