Hi,
after googling for like 2 hours now i just found this:
https://forum.proxmox.com/threads/network-interruption-after-debian-network-restart.102223/
interface config:
let me know what else you need!
after googling for like 2 hours now i just found this:
https://forum.proxmox.com/threads/network-interruption-after-debian-network-restart.102223/
interface config:
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto eno1
iface eno1 inet static
address xx.xx.xx.xx/26
gateway xx.xx.xx.xx
pointopoint xx.xx.xx.xx.xx
post-up sysctl -w net.ipv4.ip_forward=1
post-up sysctl -w net.ipv6.conf.all.forwarding=1
post-up echo 1 > /proc/sys/net/ipv4/conf/enp2s0/proxy_arp
post-up iptables -t nat -A PREROUTING -i eno1 -p tcp -m multiport ! --dport 22,8006,14916 -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 eno1 inet6 static
address xxxx::1111/128
gateway XXXX::1
# vlan raw device
auto eno1.4090
iface eno1.4090 inet static
vlan-raw-device eno1
mtu 1400
address 0.0.0.0
netmask 0.0.0.0
auto vmbr4090
iface vmbr4090 inet static
address 10.0.0.18
netmask 24
bridge_ports eno1.4090
bridge_stp off
bridge_fd 0
#connection cloud
auto vmbr0
iface vmbr0 inet static
address 10.10.10.0/31
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.10.10.1/31' -o eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.1/31' -o eno1 -j MASQUERADE
#WAN OPNSense - Proxmox LAN
iface vmbr0 inet6 static
address XXXX::1336/127
up ip -6 route add XXXX::/64 via XXXX::1337
#WAN OPNSense - Proxmox LAN V6
auto vmbr1
iface vmbr1 inet static
address xx.xx.xx.xx
netmask 255.255.255.255
hwaddress 00:50:56:00:87:9A
bridge_ports none
bridge_stp off
bridge_fd 0
bridge_maxwait 0
up route add -host xx.xx.xx.xx dev vmbr1
#opt1
auto vmbr2
iface vmbr2 inet static
address 172.16.0.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '172.16.0.0/24' -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '172.16.0.0/24' -j MASQUERADE
#VM Net
let me know what else you need!
Last edited: