Re: [vserver] Multiple visible IPs per guest

From: Roderick A. Anderson <raanders_at_cyber-office.net>
Date: Wed 27 May 2009 - 03:54:46 BST
Message-ID: <4A1CAB76.2050300@cyber-office.net>

John A. Sullivan III wrote:
> On Tue, 2009-05-26 at 16:49 -0700, Roderick A. Anderson wrote:
>> Roderick A. Anderson wrote:
>>
>> <snip >
>>
>> John, Xavier;
>>
>> Thanks for the input.
>>
>> I need to try a couple of the things you mentioned and suggested to see
>> how they affect my normal operations. I've been using the alias to
>> make tracking the guests' IPs simplier. I haven't found or figured out
>> a method to query a guest for its IPs. Did miss this somewhere in the
>> docs or wiki?
>>
>> I'm assuming that without a name/alias all works fine. The Vserver
>> utils and the magic that is the Linux networking know which IP goes to
>> which guest.
>>
>> I really need to learn more about iproute2 and friends. :-)
>>
>> Again thanks.
>>
>>
>> \\||/
>> Rod
> Hi, Rod. I'm not entirely sure of what you mean by querying a guest for
> its IPs. I normally use the ip command (ip add ls) so you could do
> something like:
>
> vserver <guestname> exec ip add ls

Ahhh! I didn't think of using exec. Normally I'd do an ip addr ls from
the host and look/grep for the alias (eth0:ns3ts).

Thanks for the help getting out of the box. :-)

\\||/
Rod

-- 
> 
> Hope that helps - John
Received on Wed May 27 03:54:57 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 27 May 2009 - 03:54:59 BST by hypermail 2.1.8