I'm using a Hetzner Server with Proxmox installed. Currently I've got one additional IP-Adress, with seperate MAC.
Using the following proxmox host interfaces config, i was able to assign that additional IP Adress to a VM, running pfSense ,while keeping the primary ip assigned to the proxmox host.
Now i want to add another aditional IP, also routed onto the pfSense VM, ideally as second WAN Adress.
So far, i added a second network interface connected to vmbr0 to said VM, and configured the respective MAC.
But whatever I try, the IP does not show up in ifconfig of vnet2, and pfSense refuses to add the IP, as it is on the sam /26 Subnet than the already existing additional IP.
Thanks,
Alexander
Using the following proxmox host interfaces config, i was able to assign that additional IP Adress to a VM, running pfSense ,while keeping the primary ip assigned to the proxmox host.
Code:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp0s31f6
iface enp0s31f6 inet manual
# up route add -net 167.235.178.128 netmask 255.255.255.192 gw 167.235.178.129 dev enp0s31f6 route 167.235.178.128/26 via 167.235.178.129
auto vmbr0
iface vmbr0 inet static
address 167.235.178.172/26
gateway 167.235.178.129
bridge-ports enp0s31f6
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
Now i want to add another aditional IP, also routed onto the pfSense VM, ideally as second WAN Adress.
So far, i added a second network interface connected to vmbr0 to said VM, and configured the respective MAC.
But whatever I try, the IP does not show up in ifconfig of vnet2, and pfSense refuses to add the IP, as it is on the sam /26 Subnet than the already existing additional IP.
Thanks,
Alexander