Subject: Re: [vserver] Networking questions
From: startx <startx@plentyfact.org>
Date: Fri, 18 Jun 2010 18:47:17 +0100

On Thu, 17 Jun 2010 09:52:06 -0700
Siv <punumaa@gmail.com> wrote:

> Hi,
> 
> Few networking related questions. Hope you can help.
> 
> 1. How is it possible to assign different IP addresses for host and
> guest ? Basically am interested in the internals. Any pointer to doc
> would be helpful.

you assign the IP to a guest by setting those options in /etc/vservers,
where e.g.

/etc/vservers/<guest-name>/interfaces/0/dev

is the device name, and

/etc/vservers/<guest-name>/interfaces/0/ip

is the IP address of the guest.

startx