Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question