Greetings,
I have went through alot of instructions on how to configure networking side of proxmox, but still cannot manage to do next organization:
having one public IP, inside proxmox local IP pool with two or three separate vlans. All VMs should be accessible from outside.
Server has two NIC, connected to separate switches, bonded together with LACP(802.3ad), added vmbr0 with vlan awareness:
I would like to have 10.9.8.7 IP on one of my VMs (runing ubuntu if that matters), how do I manage that?
I tried entering my public IP on bond0 and then private IP range on vmbr0 but it nags that I cannot have IP on a if that I'm bonding to.
Bonus question:
How do I route traffic via some domain (domain is set to point onto public IP of proxmox server) to this VM? HAProxy running on barebone server?
To not look like I'm that guy that installs something and then starts shouting this doesnt work, I did research on few pages:
- https://wiki.debian.org/NetworkConfiguration#Bringing_up_an_interface_without_an_IP_address
- https://pve.proxmox.com/wiki/Networ...ith_tt_span_class_monospaced_iptables_span_tt -> this here has alot of info, but looking at Linux Bond, first ifconfig shown doesnt work for me, proxmox says I cannot have address on bond0 (iface bond0 - ip address can't be set on interface if bridged in vmbr0 (500)), second one is like like mine current, but with public IP instead of private IP..
- https://forum.proxmox.com/threads/ve_host-web-interface-setup-for-dhcp.27481/
- many others from this forum..
At first I thought to set up public IP on eno1 and eno2, bond them together into bond0 without IP and then bridge vmbr0 with bond0 and set local IP range, but that doesnt work, cannot access server anymore..
I have went through alot of instructions on how to configure networking side of proxmox, but still cannot manage to do next organization:
having one public IP, inside proxmox local IP pool with two or three separate vlans. All VMs should be accessible from outside.
Server has two NIC, connected to separate switches, bonded together with LACP(802.3ad), added vmbr0 with vlan awareness:
Code:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
auto eno2
iface eno2 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-downdelay 200
bond-updelay 200
auto vmbr0
iface vmbr0 inet static
address 21X.XXX.XXX.28/29
gateway 21X.XXX.XXX.25
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
I would like to have 10.9.8.7 IP on one of my VMs (runing ubuntu if that matters), how do I manage that?
I tried entering my public IP on bond0 and then private IP range on vmbr0 but it nags that I cannot have IP on a if that I'm bonding to.
Bonus question:
How do I route traffic via some domain (domain is set to point onto public IP of proxmox server) to this VM? HAProxy running on barebone server?
To not look like I'm that guy that installs something and then starts shouting this doesnt work, I did research on few pages:
- https://wiki.debian.org/NetworkConfiguration#Bringing_up_an_interface_without_an_IP_address
- https://pve.proxmox.com/wiki/Networ...ith_tt_span_class_monospaced_iptables_span_tt -> this here has alot of info, but looking at Linux Bond, first ifconfig shown doesnt work for me, proxmox says I cannot have address on bond0 (iface bond0 - ip address can't be set on interface if bridged in vmbr0 (500)), second one is like like mine current, but with public IP instead of private IP..
- https://forum.proxmox.com/threads/ve_host-web-interface-setup-for-dhcp.27481/
- many others from this forum..
At first I thought to set up public IP on eno1 and eno2, bond them together into bond0 without IP and then bridge vmbr0 with bond0 and set local IP range, but that doesnt work, cannot access server anymore..
Last edited: