Libro sobre Proxmox maestria
Network of Virtual Networks bond_miimon X bond_updelay X
The following several options can be used while configuring bonding:
X = integer number. It sets the MII link monitoring frequency in milliseconds. This option checks the frequency at which each slave port is inspected for link failures.
bond_downdelay X X = integer number. It sets the time in milliseconds to wait before disabling a slave after a link failure has been detected. X = integer number. It sets the time in milliseconds to wait before enabling a slave after a link recovery has been detected.
NAT is a way to hide internal network IP addresses from the external network, such as the Internet. Any outgoing traffic uses the main host IP address instead of using own local IP address. Add the last three lines of the following post-up and post-down settings in the configuration file /etc/network/interfaces. Only add these lines under the virtual bridge configuration which needs the NAT option. Have a look at the following code snippet:
auto vmbro iface vmbr0 inet static address 192.168.145.1 netmask 255.255.255.0 bridge_ports none bridge_stp off bridge_fd Opost-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A POSTROUTING -s '192.168.145.0/24' -0 eth0 - MASQUERADE post-down iptables -t nat -D POSTROUTING -s '192.168.145.0/24 -0 eth0 -j MASQUERADE
It is much easier and manageable to handle NAT using a physical or virtual firewall. Most of the firewalls have the NAT option out of the box. Also, using virtualized firewalls, we can create truly isolated virtual networks for multiple clients on the same Proxmox cluster. Having a virtual firewall provides the client control over their own filtering while keeping their network hidden from other client networks in the cluster.