It works fine, but after reboot i can't connect to any virtual machine...
there is my interface config, anyone can help?
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