D
D
DarkLynx912015-08-11 15:17:12
Proxmox
DarkLynx91, 2015-08-11 15:17:12

2 Proxmox subnets?

Good afternoon.
Noob in networks, but the task must be done.
I don't know how.
there is 1 physical interface eth0 and 2 subnets.
xxx.yyy.196.136/29
xxx.yyy.138.160/28
It is necessary to make sure that on some virtual machines ip is assigned from 1 subnet, and not others from 2 subnets.
Tell me how to do this in proxmox?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DarkLynx91, 2015-08-12
@DarkLynx91

I'll answer my own question.
So that OpenVZ can use the ip of the second subnet, not the main one for the host machine.
You need to change only 1 parameter
File /etc/vz/vz.conf
NEIGHBOUR_DEVS=detected
me to
NEIGHBOUR_DEVS=all
Everything. Containers can now be assigned venet from any subnet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question