Answer the question
In order to leave comments, you need to log in
Proxmox - how to add an additional public ip from another visit?
This is what /etc/network/interfaces currently looks like
auto lo
iface lo inet loopback
auto enp5s0
iface enp5s0 inet static
address XX.XXX.XX.58
netmask 255.255.255.252
gateway XX.XXX.XX.57
iface enp6s0 inet manual
auto vmbr0
iface vmbr0 inet static
address XX.XXX.XX.58
netmask 255.255.255.252
bridge_ports none
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.99.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.99.0/24' -o enp5s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.99.0/24' -o enp5s0 -j MASQUERADE
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question