Answer the question
In order to leave comments, you need to log in
How to make a local network between virtual machines?
Guys, tell me about the topic of the question .. There is a Gentoo server on which virtual machines are raised and run on OpenVZ (not proxmox), each virtual machine has its own IP accessible from the outside (white), but I would like to make a local network between virtual machines (I want share a couple of services inside the local area, so as not to shine for everyone).
How many manuals I found - everything is either not right, or even superficial, that nothing is clear.
On all virtual machines, venet is used as a network interface, which is assigned a white IP.
PS I ask you not to ask why such a system and virtualization - I got this, I have to support it.
Answer the question
In order to leave comments, you need to log in
Well, just add gray IPs to the interfaces and you won't shine anything.
There are only dances with a tambourine.
Call the shaman.
smoke the documentation on OpenVZ and openvswitch
the task is to make a virtual switch in additional network networks, and connect it all.
If the machines have white IPs, then they are connected to a router that allows them to access the Internet, via a bridge or something else. That's where you need to set up exactly the same way as you would do for conventional machines. If you have made a local network and need to limit which containers see what (make them like a virtual LAN), use the usual netfilter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question