[vbox-dev] To handle natnetwork

Federica Renzi renzi.fede at gmail.com
Wed Sep 3 11:29:47 GMT 2014


hello guys,
I'm wondering if It could be possible to add a feature (probably in
"advanced topic") which let us to remove auto shutdown for NAT network when
a vm is closed in safe mode.
What about?

What should I do to propose that officially?


2014-07-23 12:18 GMT+02:00 Federica Renzi <renzi.fede at gmail.com>:

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



-- 
Federica Renzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140903/d9a224ba/attachment.html>


More information about the vbox-dev mailing list