From: Klavs Klavsen (klavs_at_EnableIT.dk)
Date: Wed 06 Nov 2002 - 09:36:02 GMT
On Mon, 2002-11-04 at 21:10, Jacques Gelinas wrote:
> On Sat, 2 Nov 2002 11:02:50 -0500, Paul Sladen wrote
> > On 2 Nov 2002, Klavs Klavsen wrote:
> > > But I like to be able to run it in exactly the same way, and just set in
> > > the vserver.conf file, if it should have it's own IP or not.
> >
> > I'll eat that. Just set:
> >
> > IPROOT="0.0.0.0"
> >
> > in the config file.
>
> indeed this is the way to do it. I have modified the script to IPROOT="" is
> translated to 0.0.0.0.
>
Sorry to say this guys, but if I let a vserver bind to 0.0.0.0 - and
start f.ex. sshd - then you'll notice that port 22 on ALL aliases is
grabbed too - meaning I can no longer run anything on that port on any
alias.
I should be able to set it to eth0 - (meaning the eth0 "real" address")
- because when I enter my "real" address it complains a bit - because it
tries to set it - but other than that it works.
Therefore I propose that "" or "eth0" is translated into the interface's
real addresss. "" then just takes the first one - and "eth0" takes the
real one for eth0, and so forth.
-- Regards, Klavs Klavsen--------------| This mail has been sent to you by: |------------ Klavs Klavsen - Open Source Consultant klavs_at_EnableIT.dk - http://www.EnableIT.dk
Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA Fingerprint = 2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 ---------------------------------------------------------------- Open Source Software - Sometimes you get more than you paid for. -- unknown