ProxmoxVE 3.4 How to configure the network interfaces?

Good day, dear colleagues who are already experienced with setting up Proxmox interested in implementation of this task.

Gateway is Mikrotik has 2 LAN port, 1 port for NAT th and the second port 29 subnet from the ISP.

The Proxmox machine with 2 network cards, so I would like to configure so that each KVM had 2 Ethernet adapter, first looked into the LAN, and the second, respectively hitched with 29 IP subnet in order to look outward. And of course iptables will cover everything except port 80 on the intranet.

Involved the installation now, so the question I ask in advance.
September 19th 19 at 12:32
4 answers
September 19th 19 at 12:34
A piece of example from a live network, the essence is to create multiple vmbr interfaces and push in the new path as needed, I have a new path and a dozen different interfaces.
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
 address 195.114.XX.XX
 netmask 255.255.255.192
 gateway 195.114.XX.1
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0

auto vmbr1
iface vmbr1 inet static
 address 10.1.1.1
 netmask 255.255.255.0
 bridge_ports eth1
 bridge_stp off
 bridge_fd 0
September 19th 19 at 12:36
auto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
 address 192.168.1.17
 netmask 255.255.255.0
 gateway 192.168.1.57
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
 bridge_ports eth1
 bridge_stp off
 bridge_fd 0


auto vmbr2
iface vmbr2 inet manual
 bridge_ports eth2
 bridge_stp off
 bridge_fd 0
September 19th 19 at 12:38
As I understand from the config you assign multiple IP Debian ?
Is it possible to make a virtual switch which would not occupy IP address, but the KVM has gained from his IP address?
Easy:
auto vmbr250
vmbr250 iface inet static
address 0.0.0.0
netmask 255.255.255.255
bridge_ports vlan250
bridge_stp off
bridge_fd 0

as IP 0.0.0.0 then just select the desired vmbr as a network for the path already in virtual reality and prescribes IP - rogelio_Ward14 commented on September 19th 19 at 12:41
September 19th 19 at 12:40
Proxmox works with the virtual switch Open vswitch, after you install open vswitch can be configured via web interface proxmox. Then, for each network you can create a bridge, add the physical interface to the same interface for KVM.

Find more questions by tags ProxmoxKVMNetwork administration