Subject: Re: [vserver] Guest - problem on networking and exit
From: Stephen Liu <satimis@yahoo.com>
Date: Thu, 28 Aug 2008 22:24:30 +0800 (CST)


--- Chuck <chuck@sbbsnet.net> wrote:

> On Thursday 28 August 2008, Stephen Liu wrote:
> > Hi Chuck,
> > 
> > 
> > Thanks for your advice.
> > 
> > 
> > --- Chuck <chuck@sbbsnet.net> wrote:
> > 
> > - snip -
> > 
> > 
> > > typically the install wants a /24 rather than the entire netmask
> of 
> > > 255.255.255.0.   simply create the txt file called prefix and
> place
> > > as the 
> > > first 2 characters the number 24 and save it
> > 
> > I'll do it later.
> > 
> > 
> > > look at the entire /0 directory and be sure you have an ip file
> with
> > > the 
> > > correct ip in it and nothing else, and a dev file with your ethx.
> you
> > > can 
> > > optionally add a name file with up to 4 or 5 chars uniquely
> > > identifying this 
> > > interface, such as vs1 and then when you do an ip listing you
> will
> > > see if you 
> > > use eth0, eth0:vs1  and then the rest of the report.
> > 
> > 
> > # vserver vserver1 exec nano /etc/vservers/vserver1/interfaces/0/ip
> > Only an empty file
> > 
> > 
> > What shall I enter on this file.   TIA
> > 
> > 
> > I have only one NIC.  On the Host it is denoted as eth0
> > 
> 
> the ip file contains your vserver ip address inthe form of
> 
> xxx.xxx.xxx.xxx
> 
> 
> the dev file contains
> 
> eth0
> 
> 
> the prefix file contains
> 
> 24
> 
> 
> and if you wish it, the name file can contain a very short
> identifying string, 
> for vserver1 use
> 
> vs1


Hi Chuck,


Problem solved.  


Previously I mistakenly editeed those files on Guest.  It should be
done on Host.  Problem gone now.  Thanks.


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com