Re: [Vserver] 2 IP-numbers for one vserver

2003-12-06 Thread Herbert Poetzl
On Sat, Dec 06, 2003 at 10:44:59PM +0100, Dariush Pietrzak wrote:
> On Sat, 6 Dec 2003, Herbert Poetzl wrote:
> 
> > On Sat, Dec 06, 2003 at 09:35:01PM +0100, Dariush Pietrzak wrote:
> > > > IPROOT="eth0:aa.aa.aa.aa/mm.mm.mm.0 eth0:bb.bb.bb.bb/nn.nn.0.0"
> > > > leave the rest of the IP* settings empty
> > >  # chbind --ip 10.1.0.1 --ip 10.1.0.2 --nc -l -p 2032
> > > chbind version 0.26
> > > chbind [ --silent ] [ --ip ip_num[/mask] ] [ --bcast broadcast ] command
> > > argument
> > > 
> > >  What am I doing wrong?
> > 
> > first, I boldly assume you are using vserver-0.26 ...
>  chbind version 0.26

well, unfortunately this isn't non-ambiguous
as util-vserver-0.26 shows the same ...

> yes,
> 
> >  - I dont see a --nc option for chbind
>  ugh, that's the problem. Thanks. I got a bit '-'-happy, that was supposed
>  to be chbind --ip 10.1.0.1 --ip 10.1.0.2 nc -l -p 2032. Sorry I had to
>  post to the list to notice this.

this happens sometimes ...
don't worry

best,
Herbert

> 
> -- 
> Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
> Namagumi namagomi namagoroshi
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 2 IP-numbers for one vserver

2003-12-06 Thread Dariush Pietrzak
On Sat, 6 Dec 2003, Herbert Poetzl wrote:

> On Sat, Dec 06, 2003 at 09:35:01PM +0100, Dariush Pietrzak wrote:
> > > IPROOT="eth0:aa.aa.aa.aa/mm.mm.mm.0 eth0:bb.bb.bb.bb/nn.nn.0.0"
> > > leave the rest of the IP* settings empty
> >  # chbind --ip 10.1.0.1 --ip 10.1.0.2 --nc -l -p 2032
> > chbind version 0.26
> > chbind [ --silent ] [ --ip ip_num[/mask] ] [ --bcast broadcast ] command
> > argument
> > 
> >  What am I doing wrong?
> 
> first, I boldly assume you are using vserver-0.26 ...
 chbind version 0.26
yes,

>  - I dont see a --nc option for chbind
 ugh, that's the problem. Thanks. I got a bit '-'-happy, that was supposed
 to be chbind --ip 10.1.0.1 --ip 10.1.0.2 nc -l -p 2032. Sorry I had to
 post to the list to notice this.

-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
Namagumi namagomi namagoroshi
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 2 IP-numbers for one vserver

2003-12-06 Thread Herbert Poetzl
On Sat, Dec 06, 2003 at 09:35:01PM +0100, Dariush Pietrzak wrote:
> > IPROOT="eth0:aa.aa.aa.aa/mm.mm.mm.0 eth0:bb.bb.bb.bb/nn.nn.0.0"
> > leave the rest of the IP* settings empty
>  # chbind --ip 10.1.0.1 --ip 10.1.0.2 --nc -l -p 2032
> chbind version 0.26
> chbind [ --silent ] [ --ip ip_num[/mask] ] [ --bcast broadcast ] command
> argument
> 
>  What am I doing wrong?

first, I boldly assume you are using vserver-0.26 ...

hmm what do you want to do?

 - I dont see a --nc option for chbind
 - neither -l nor -p
 - chbind requires a command to execute 
   (which I don't see either ...)

HTH,
Herbert

> -- 
> Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
> Namagumi namagomi namagoroshi
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 2 IP-numbers for one vserver

2003-12-06 Thread Dariush Pietrzak
> IPROOT="eth0:aa.aa.aa.aa/mm.mm.mm.0 eth0:bb.bb.bb.bb/nn.nn.0.0"
> leave the rest of the IP* settings empty
 # chbind --ip 10.1.0.1 --ip 10.1.0.2 --nc -l -p 2032
chbind version 0.26
chbind [ --silent ] [ --ip ip_num[/mask] ] [ --bcast broadcast ] command
argument

 What am I doing wrong?

-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
Namagumi namagomi namagoroshi
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 2 IP-numbers for one vserver

2003-11-25 Thread Herbert Poetzl
On Tue, Nov 25, 2003 at 06:50:47PM +0100, Bert De Vuyst wrote:
> 
> Hello,
> 
> I would like to move a existing server to a vserver, but the machine does have 
> 2 IP-numbers (on eth0 and eth0:0)
> Is it possible to have 2 IP-numbers in one vserver?

simple ...
 
IPROOT="eth0:aa.aa.aa.aa/mm.mm.mm.0 eth0:bb.bb.bb.bb/nn.nn.0.0"
leave the rest of the IP* settings empty

if you need other configs, have a look at
http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt
for an in depth explanation ... 
(especiall chapter 3, the examples)

HTH,
Herbert

> Thanks for you help,
> 
> Bert.
> 
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 2 IP-numbers for one vserver

2003-11-25 Thread Jan-Marc Pilawa
Zitat von Bert De Vuyst <[EMAIL PROTECTED]>:

> 
> Hello,
> 
> I would like to move a existing server to a vserver, but the machine
> does have 
> 2 IP-numbers (on eth0 and eth0:0)
> Is it possible to have 2 IP-numbers in one vserver?

Yes it is. Try s.th. like eth0:IP1 eth2:IP2 in the IPAdress-line in the
vservers config file. If you don't specify the device the IPs will be
assigned to the first Interface.

> 
> Thanks for you help,
> 
> Bert.
> 
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver
> 



Mit freundlichen Gruessen


Jan Pilawa.

-- 
+ Kontakt +
+ Systembetreuung Rechenzentrum TU Braunschweig   +
+ Hans-Sommer-Str. 65, D-38092 Braunschweig   +
+ Tel: +49 531 391-5548 Mail: [EMAIL PROTECTED] __+ 
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 2 IP-numbers for one vserver

2003-11-25 Thread jon707
On Tue, Nov 25, 2003 at 06:50:47PM +0100, Bert De Vuyst wrote:
> 
> Hello,
> 
> I would like to move a existing server to a vserver, but the machine does have 
> 2 IP-numbers (on eth0 and eth0:0)
> Is it possible to have 2 IP-numbers in one vserver?

Yes, i use it right now.



JonB
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] 2 IP-numbers for one vserver

2003-11-25 Thread Bert De Vuyst

Hello,

I would like to move a existing server to a vserver, but the machine does have 
2 IP-numbers (on eth0 and eth0:0)
Is it possible to have 2 IP-numbers in one vserver?

Thanks for you help,

Bert.

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver