Hi Im newbie proxmox I have 1 public ip use this shared config with pf
I have got now failover ip with virtual mac can I use it directly vm?
If I choose bridge port eno1 after restart or apply network config I can not reach server. Rescu mode everythink fail
auto eno1
iface eno1 inet dhcp
post-up sysctl -w net.ipv4.ip_forward=1
post-up iptables -t nat -A PREROUTING -i eno1 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.10.1
post-up iptables -t nat -A PREROUTING -i eno1
-p udp -j DNAT --to 10.10.10.1
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.10.10.0/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.10.10.1/30' -o eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.1/30' -o eno1 -j MASQUERADE
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
I have got now failover ip with virtual mac can I use it directly vm?
If I choose bridge port eno1 after restart or apply network config I can not reach server. Rescu mode everythink fail
auto eno1
iface eno1 inet dhcp
post-up sysctl -w net.ipv4.ip_forward=1
post-up iptables -t nat -A PREROUTING -i eno1 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.10.1
post-up iptables -t nat -A PREROUTING -i eno1
-p udp -j DNAT --to 10.10.10.1
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.10.10.0/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.10.10.1/30' -o eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.1/30' -o eno1 -j MASQUERADE
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
Last edited: