Can't connect to my virtual machine after reboot

cportal

New Member
Sep 5, 2021
1
0
1
37
It works fine, but after reboot i can't connect to any virtual machine...

there is my interface config, anyone can help?

Code:
auto lo
iface lo inet loopback

iface lo inet6 loopback

iface enp0s31f6 inet manual

up route add -net 95.216.21.192 netmask 255.255.255.192 gw 95.216.21.193 dev enp0s31f6

auto vmbr0
iface vmbr0 inet static
    address 95.216.21.225/26
    gateway 95.216.21.193
    bridge-ports enp0s31f6
    bridge-stp off
    bridge-fd 0

iface vmbr0 inet6 static
    address 2a01:4f9:2a:161e::2/64
    gateway fe80::1

auto vmbr1
iface vmbr1 inet static
    address 192.168.10.1/24
    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.10.0/24' -o vmbr0 -j MASQUERADE
    post-down iptables -t nat -D POSTROUTING -s '192.168.10.0/24' -o vmbr0 -j MASQUERADE
#localnet
 
Please post the VM configuration qm config {VMID} and the output of ip a from the Proxmox side
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!