[xen-tools-discuss] IP auto-increment

.:: Alfred Sawaya ::. huji at huji.fr
Tue Sep 22 12:15:26 CEST 2009


Steve Kemp a écrit :
> On Tue Sep 22, 2009 at 12:09:18 +0200, .:: Alfred Sawaya ::. wrote:
>
>   
>> It could be possible to read the guest's ip address before deleting its
>> config file, and to do a sed -i 's/A.B.C.D\:\ used/A.B.C.D/g'
>> /etc/xen-tools/ips.txt , couldn't it ?
>>     
>
>   But what if the IP was specified manually?  Then it was readded
>  and reused by another creation?
>   
    If the IP was specified manually, it shouldn't be in the pool of ip 
address to use automatically
>   No.  In short the auto-addition was added because it could be
>  useful, but deletion is a case that you'll have to handle yourself.
>
>   Perhaps a cronjob that sees which IPs in a given range aren't
>  allocated and rebuild the ips.txt file.
>   

Ok, I will find a solution. Thanks a lot !
> Steve
> --
>
>
>   

-- 


 --                 
|
    .:: Alfred Sawaya ::.
                            |
                          --





More information about the xen-tools-discuss mailing list