
=0A<div><span style=3D"font-family: arial, helvetica,sans-serif; font-s= ize: 10pt; color: #000000;">The solution is very close to your idea, so= what about connecting these VMs to a "ghost" network interface, which i= s just existing virtually and behaving like a real one but without bothe= ring you ?</span></div>=0A<div> </div>=0A<div><span style=3D"font-f= amily: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;"> T= his thing is called the "dummy" module, and can be configured at OS leve= l.</span></div>=0A<div> </div>=0A<div><span style=3D"font-family: a= rial, helvetica,sans-serif; font-size: 10pt; color: #000000;">* Configur= e and use the "dummy" module and create an active interface </span></div= =0A<div><span style=3D"font-family: arial, helvetica,sans-serif; font-s= ize: 10pt; color: #000000;"> -= /etc/modprobe.d/dummy.conf<br /> &nb= sp; install dummy /sbin/modprobe --ignore-instal= l dummy; ip link add dummy_1 type dummy<br /> &nb= sp; - /etc/modules-load.d/dummy.conf <br />  = ; # Dummy net driver for= internal network<br /> &= nbsp; dummy</span></div>=0A<div> </div>=0A<div><span st= yle=3D"font-family: arial, helvetica,sans-serif; font-size: 10pt; color:= #000000;">* Configure this device "dummy_1" as linked to a dedicated br= idge "smb_testing".</span></div>=0A<div><span style=3D"font-family: aria= l, helvetica,sans-serif; font-size: 10pt; color: #000000;">- /etc/syscon= fig/network-scripts/ifcfg-dummy_1 <br /> &n= bsp; # Generated by VDSM version 4.20.23-1= .el7.centos<br /> &= nbsp; DEVICE=3Ddummy_1<br /> &n= bsp; BRIDGE=3Dsmb_testing<br />  = ; ONBOOT=3Dyes<br />&nbs=
--=_4eec1c398deb5860b5f91e1107ccfc6c Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=0A Yes, clear informations about this are not available and I had= to try a little bit before getting a result. The thing is you can cre= ate an internal network but it has to be linked to some device, otherwis= e the network will be considered as "non functional" and your domain, se= rver or datacenter (depending at which level you decide to set ip), will= return errors. At the datacenter level, I wasn't even able to have a us= able infrastructure before correcting this. The solution is very close= to your idea, so what about connecting these VMs to a "ghost" network i= nterface, which is just existing virtually and behaving like a real one= but without bothering you ? This thing is called the "dummy" module,= and can be configured at OS level. * Configure and use the "dummy" mo= dule and create an active interface - /etc/modprobe.d/dummy.conf=0A in= stall dummy /sbin/modprobe --ignore-install dummy; ip link add dummy_1 t= ype dummy=0A - /etc/modules-load.d/dummy.conf =0A # Dummy net driver for= internal network=0A dummy * Configure this device "dummy_1" as linked= to a dedicated bridge "smb_testing". - /etc/sysconfig/network-scripts/i= fcfg-dummy_1 =0A # Generated by VDSM version 4.20.23-1.el7.centos=0A DEV= ICE=3Ddummy_1=0A BRIDGE=3Dsmb_testing=0A ONBOOT=3Dyes=0A MTU=3D1500=0A D= EFROUTE=3Dno=0A NM_CONTROLLED=3Dno=0A IPV6INIT=3Dno=0A * Classic bridg= e definition.=0A - /etc/sysconfig/network-scripts/ifcfg-smb_testing =0A= # Generated by VDSM version 4.20.23-1.el7.centos=0A DEVICE=3Dsmb_testin= g=0A TYPE=3DBridge=0A DELAY=3D0=0A STP=3Doff=0A ONBOOT=3Dyes=0A MTU=3D15= 00=0A DEFROUTE=3Dno=0A NM_CONTROLLED=3Dno=0A IPV6INIT=3Dyes=0A IPV6_AUTO= CONF=3Dyes You can now attach this network to your machines, and they= will be able to communicate through it. =0A=0AMy main concern now is := will this configuration survive if I modify things and network scripts= are regenerated by the engine ? =0A=0ARegards=0A=0A Le 09-Apr-2018 08:3= 7:23 +0200, a_shilov@inbox.ru a crit: =0A=0AHi List! =0A=0ARecently I'= ve started using ovirt 4.2 and faced that I cannot find any guide how to= do it in ovirt.org documentation. =0A=0ANeed help with configure isolat= ed/host-only (not connect to real NIC) network that allowed to communica= te two or more VMs into private network. May be exist a solution? I did= it such: linked logical networt to real NIC without connect anywhere (l= ink - DOWN), but this solution is a little bit odd. How to exclude read= NIC? =0A=0A---------------------------------------------------------= ----------------------------------------=0AFreeMail powered by mail.fr --=_4eec1c398deb5860b5f91e1107ccfc6c Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <div><span style=3D"font-family: arial, helvetica,sans-serif; font-size:= 10pt; color: #000000;">Hi,<br /></span></div>=0A<div> </div>=0A<di= v><span style=3D"font-family: arial, helvetica,sans-serif; font-size: 10= pt; color: #000000;">Yes, clear informations about this are not availabl= e and I had to try a little bit before getting a result.</span></div>=0A= <div> </div>=0A<div><span style=3D"font-family: arial, helvetica,sa= ns-serif; font-size: 10pt; color: #000000;">The thing is you can create= an internal network but it has to be linked to some device, otherwise t= he network will be considered as "non functional" and your domain, serve= r or datacenter (depending at which level you decide to set ip), will re= turn errors. At the datacenter level, I wasn't even able to have a usabl= e infrastructure before correcting this.</span></div>=0A<div> </div= p; MTU=3D150= 0<br />  = ; DEFROUTE=3Dno<br /> &nb= sp; NM_CONTROLLED=3Dno<br /> &n= bsp; IPV6INIT=3Dno<br /></span></div>=0A<d= iv> </div>=0A<div><span style=3D"font-family: arial, helvetica,sans= -serif; font-size: 10pt; color: #000000;">* Classic bridge definition.<b= r /> - /etc/sysconfig/network-= scripts/ifcfg-smb_testing <br /> &nbs= p; # Generated by VDSM version 4.20.23-1.e= l7.centos<br /> &nb= sp; DEVICE=3Dsmb_testing<br /> = TYPE=3DBridge<br /> &nbs= p; DELAY=3D0<br /> = STP=3Doff<br />&n= bsp; ONBOOT= =3Dyes<br /> = MTU=3D1500<br /> &= nbsp; DEFROUTE=3Dno<br />  = ; NM_CONTROLLED=3Dno<br /> &nbs= p; IPV6INIT=3Dyes<br />&= nbsp; IPV6_A= UTOCONF=3Dyes</span></div>=0A<div> </div>=0A<div><span style=3D"fon= t-family: arial, helvetica,sans-serif; font-size: 10pt; color: #000000;"=
You can now attach this network to your machines, and they will be able= to communicate through it.</span></div>=0A<p>My main concern now is : w= ill this configuration survive if I modify things and network scripts ar= e regenerated by the engine ?</p>=0A<p>Regards<br /><br /> Le 09-Apr-201= 8 08:37:23 +0200, a_shilov@inbox.ru a écrit:</p>=0A<div> </d= iv>=0A<blockquote style=3D"margin-left: 0; padding-left: 5px; border-lef= t: 2px solid navy;"><br /><br />=0A<p style=3D"font-family: Arial, Tahom= a, Verdana, sans-serif;">Hi List!</p>=0A<p style=3D"font-family: Arial,= Tahoma, Verdana, sans-serif;">Recently I've started using ovirt 4.2 and= faced that I cannot find any guide how to do it in ovirt.org documentat= ion.</p>=0A<p style=3D"font-family: Arial, Tahoma, Verdana, sans-serif;"= Need help with configure isolated/host-only (not connect to real NIC) n= etwork that allowed to communicate two or more VMs into private network.= May be exist a solution? I did it such: linked logical networt to real= NIC without connect anywhere (link - DOWN), but this solution is a litt= le bit odd. How to exclude read NIC?</p>=0A<div> </div>=0A</blockqu= ote>=0A <br/><hr>FreeMail powered by <a href=3D"https= ://mail.fr" target=3D"_blank">mail.fr</a>=0A
--=_4eec1c398deb5860b5f91e1107ccfc6c--