Private network

camaran

Active Member
Jul 14, 2013
59
1
28
Hi, can you help me to set a private network between vm

Every vm must have public net and private net, I have ct debian.

Private net must have 10.10.0.0/24

How I must set host and vm network? I can use with venet interfaces?
 
Hello camaran

Every vm must have public net and private net, I have ct debian.

Private net must have 10.10.0.0/24

I suppose sou use containers?!

If so you can use venet0 as follows:

- mark your container in WEB-GUI

- go to Network tab

- choose Add - IP address and put the address there, e.g. 10.10.0.99

- you can add as many addresses as you like (Therefore also "publics" and "internals"); for proper functioning the host must have already a NIC configured with an IP in that subnet (e.g. 10.10.0.1)


If you don´t have containers but (k)vms you must connect their virtual nics to a bridge (which works like a switch), can all be done via WEB-GUI

Kind regards

Mr.Holmes