On Tue, Sep 12, 2006 at 02:18:34AM +0200, Guenther Fuchs wrote:
> Hi there,
>
> odd question where I'm not able to find a solution: On the host, it is
> possible in a very simple way to "external" bind a service or process
> to a specific IP using chbind. Is it - and if, how - possible to have
> such functionality within a guest itself as well?
>
> i.e.: Guest ggg has 2 IPs - I want to start a php script process each
> 5 minutes, using each time the other IP. On the host I could easily
> use 2 lines in crontab, each on 10 min rythm and use chbind - how can
> I accomplish this within a guest?
if the _service_ supports binding to a specific IP
(think Listen directive) then you can do the same
inside a guest too, if you intent to use chbind()
functionality for that, this would require support
for nested network namespaces, which is currently
not available ...
HTC,
Herbert
> --
> regards 'n greez,
>
> Guenther Fuchs
> (aka "muh" and "powerfox")
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Sep 12 12:11:26 2006