D
danielnewman
Guest
I'm trying to make work my subnetwork of VM's with official Proxmox Networking model guide
and hosting provider wiki-guide for Proxmox routed KVM. I've tried both solution to make such
scheme to work but with no success.
And this way make my VM discoverable in subnet, but no Internet access to update or install anything.
Thank you.
and hosting provider wiki-guide for Proxmox routed KVM. I've tried both solution to make such
scheme to work but with no success.

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 175.219.59.209
gateway 175.219.59.193
netmask 255.255.255.224
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
This way I can reach Internet out of my VM's, but can't reach one guest VM out of other VM inside my subnet.auto vmbr0
iface vmbr0 inet static
address 10.10.0.1
netmask 255.255.0.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up ip route add 10.10.0.1/24 dev vmbr0
And this way make my VM discoverable in subnet, but no Internet access to update or install anything.
Is there a way to combine both solutions without additional eth1 interfaces on VM's and tutorial how to get it work?auto vmbr1
iface vmbr1 inet static
address 10.10.0.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 '10.10.0.0/24' -o vmbr1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.0.0/24' -o vmbr1 -j MASQUERADE
Thank you.