<div dir="ltr"><div>Hi Frank,</div><div>first of all thanks for the reply!</div><div>Unfortunately I already tested this option but It doesn't work...</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-07-23 11:56 GMT+02:00 Frank Mehnert <span dir="ltr"><<a href="mailto:frank.mehnert@oracle.com" target="_blank">frank.mehnert@oracle.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Federica,<br>
<div class=""><br>
On Wednesday 23 July 2014 11:50:32 Federica Renzi wrote:<br>
> I have a question about natnetwork.<br>
> When a virtual machine is activated, its natnetwork processes start to run:<br>
><br>
</div>>    - /usr/lib/virtualbox/VBoxXPCOMIPCD<br>
><br>
>    - /usr/lib/virtualbox/VBoxSVC<br>
><br>
>    - /usr/lib/virtualbox/VBoxNetDHCP<br>
><br>
>    - /usr/lib/virtualbox/VBoxNetNAT<br>
><br>
><br>
> Unfortunately, when that virtual machine is closed (and *no other vm which<br>
> use the same natnetwork is currently active*) those processes will be<br>
<div class="">> closed too, causing connection fall.<br>
> There is some way to keep alive connection using API even while virtual<br>
> machine is closed?<br>
><br>
> I don't know If I explain correctly the problem...so I try again using my<br>
> personal example:<br>
><br>
> I create a netcat connection between my VM and another machine. Then, for<br>
> some reasons, I need to close in safemode the VM just for few seconds.<br>
> However, closing the VM, netcat connection fall.<br>
><br>
><br>
> How can I avoid that?<br>
<br>
</div>you are completely right, these services are automatically stopped when<br>
the last VM who used this network terminates. I think<br>
<br>
  VBoxManage natnetwork start --netname NAME<br>
<br>
should start the network and prevent autostopping. Though I didn't test<br>
it yet...<br>
<br>
Kind regards,<br>
<br>
Frank<br>
--<br>
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox<br>
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany<br>
<br>
Hauptverwaltung: Riesstr. 25, D-80992 München<br>
Registergericht: Amtsgericht München, HRA 95603<br>
Geschäftsführer: Jürgen Kunz<br>
<br>
Komplementärin: ORACLE Deutschland Verwaltung B.V.<br>
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande<br>
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<br>
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher<br>
<br>
_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>
<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Federica Renzi</div>
</div>