From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 15 Jun 2003 - 04:29:42 BST
On Sun, Jun 15, 2003 at 04:34:30AM +0300, Itamar Sagie wrote:
> On Sun, 2003-06-15 at 03:31, Herbert Poetzl wrote:
> > On Sun, Jun 15, 2003 at 03:04:16AM +0300, Itamar Sagie wrote:
> > > I am trying to bind 2 IPs to one vserver with no success
> > >
> > > It will only bind to the second ip
> >
> > how long is the server name?
> >
>
> the server name is 22 char long
okay, thats why it is not working ...
try with a shorter name
----- Forwarded message from Herbert Poetzl <herbert_at_13thfloor.at> -----
Subject: Re: [vserver] multiple ips 2.4.20 ctx16
From: Herbert Poetzl <herbert_at_13thfloor.at>
To: vserver_at_solucorp.qc.ca
Date: Tue, 7 Jan 2003 04:25:27 +0100
On Mon, Jan 06, 2003 at 08:32:30PM -0500, Dinesh Mistry wrote:
> Yup the IP is correct, tried that already.
>
> No errors on VPS start up
your problem is trivial, although not obvious.
#define IFNAMSIZ 16
char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
"eth0:" (5 chars)
"televendor" (10 chars)
"\0" (1 char)
but the multiple ip stuff in vserver works by
adding numbers to the server name to build the
alias names ...
eth0:televendor1
eth0:televendor2
...
which results in the same alias name used for
all your ips ... so only the last one is permanent
best,
Herbert