Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-13 Thread nishant mungse
Hi, *My basic need::* I am writing a *simple socket programme *and as input to programme I want to give the* IP address of containers*. Now* I have IP address in sequential order*, but to make my socket programme running I need the networking service of the containers to start. *I am able to do

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-13 Thread Greg Kurz
On Tue, 2011-12-13 at 14:42 +0530, nishant mungse wrote: Hi, My basic need:: I am writing a simple socket programme and as input to programme I want to give the IP address of containers. Now I have IP address in sequential order, but to make my socket programme running I need the

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-12 Thread Greg Kurz
On Mon, 2011-12-12 at 11:54 +0530, nishant mungse wrote: Hi Geordy, Hi Nishant, I removed Cc: to containers@ as your troubles are about using the lxc userspace tool: lxc-users@ is THE place for seeking help. This script gives the IP address of running system, but what I want is to get the

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Ramez Hanna
On Thu, Dec 8, 2011 at 12:33 PM, nishant mungse nishantmun...@gmail.com wrote: Hi, I want to manually invoke a networking setup to start the network service to get the IP address of container , But the problem is i don't want to start the container and want to use lxc-execute. When I tried

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread nishant mungse
Hi Greg, Thanks 4 reply. I just want the IP addresses of the containers. And one more thing can I get the IP address of containers in sequence for eg. container1 :: 198.208.168.1 container 2 :: 198.208.168.2 and like this. Please help me ASAP. Regards, Nishant On Thu, Dec 8, 2011 at 5:09 PM,

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Geordy Korte
I have a script that gets the from a running container, if that is what you need i post it tommorrow morning. If i forget ST me via the ibm network. Mvg Geordy Korte (Sent via iphone so shorter then normal) On 8 dec. 2011, at 13:59, nishant mungse nishantmun...@gmail.com wrote: Hi Greg,

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Geordy Korte
Ok, got out of the hellish traffic jam. Attached the Script I use to check the IP number of a running machine. On Thu, Dec 8, 2011 at 5:48 PM, Geordy Korte gko...@gmail.com wrote: I have a script that gets the from a running container, if that is what you need i post it tommorrow morning.

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread Brian K. White
This isn't meant as an insult but you seem to be trying to do things backwards and expecting, worse, demanding, a low level tool to contain high level features that really should be provided by your own scripting, or by other tools that already exist for that purpose. If you want to assign

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread nishant mungse
Hi, Thanks 4 script. Regards, Nishant On Fri, Dec 9, 2011 at 12:18 AM, Geordy Korte gko...@gmail.com wrote: Ok, got out of the hellish traffic jam. Attached the Script I use to check the IP number of a running machine. On Thu, Dec 8, 2011 at 5:48 PM, Geordy Korte gko...@gmail.com

Re: [Lxc-users] How to start the network services so as to get the IP address using lxc-execute???

2011-12-08 Thread nishant mungse
Hi Geordy, You said that your script gets the IP from running container, but i dont want to use lxc-start I just want the IP address and use lxc-execute to start network services. Regards, Nishant On Fri, Dec 9, 2011 at 11:00 AM, nishant mungse nishantmun...@gmail.comwrote: Hi, Thanks 4