Subject: Re: [vserver] Adding IPs to a vhost interface on demand
From: Martin Fick <mogulguy@yahoo.com>
Date: Mon, 22 Dec 2008 13:44:34 -0800 (PST)

--- On Mon, 12/22/08, Michael S. Zick <mszick@morethan.org> wrote:
>
> > On Sunday 21 December 2008 00:58:40 Ed W wrote:
> >  .... Is it possible to give a guest permission to add 
> > IP address aliases dynamically? ...
>
> <snipped ssh solution>

Perhaps a better way to communicate with the host without having to open ssh is to simply
use a named pipe.  

You could, for example, in your guest do mkfifo /tmp/IPS.  And on your host do something
like:

 while read IP < path_to_guest/tmp/IPS ; do  echo $IP ; done

Replace echo $IP with whatever you want to do with the IP.

Now, to use, on the guest: echo 192.168.1.101 > /tmp/IPS

HTH,

-Martin