How to assign dedicated IP for the proxmox virtuallock?

There is a server virtualname on proxmox (debian 8) and the network

Network configuration on the host machine like this:
auto eth0
iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0
#Bridge to eth0

auto vmbr1
iface vmbr1 inet static
 bridge_ports none
 bridge_stp off
 bridge_fd 0
#Hetzner subnet /28

auto vmbr2
iface vmbr2 inet static
 bridge_ports none
 bridge_stp off
 bridge_fd 0
#Internal Network with DHCP

In virtualcad 2 interface eth0 (to vmbr2), eth1 (for vmbr1).

eth0 inet addr: Bcast: Mask:
eth1 inet addr:Bcast Mask:

Routes on VM such:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface UG 0 0 0 eth0 U 0 0 0 eth1 U 0 0 0 eth0

It turns out that VM from outside access by IP, but she sees the world in NAT on and when requests are lit IP the host machine And need lights IP

You need to correct in the network settings or routing?
July 2nd 19 at 16:59
2 answers
July 2nd 19 at 17:01
heck they two seteviki then ? to each other they still will go locally and one bridge
and so it is logical that they are just a gateway to change IP to the first bridge and not the second .
# route add default gw
SIOCADDRT: Network is unreachable - ross commented on July 2nd 19 at 17:04
: 112 well, because the IPS cannot be used, use the 113 on the host and hateem in virtualcad
112 the network identifier is obtained for the 240 - Eulalia22 commented on July 2nd 19 at 17:07
July 2nd 19 at 17:03
On virtualcad -
Remove the default gateway
Add the default gateway from the network - most likely

Immediately evident error in the config
address - wrong - you have a network address - most likely the gateway from your ISP and all the rest of for your IPA.

Find more questions by tags ProxmoxKVMComputer networksIP