Hi

Tanks a lot for the information.

Micah: Do you know why this option is not used in the Debian
vserver kernels?

Regards,

// Ola

On Wed, Jun 06, 2007 at 11:34:29PM +0200, Sylvain Le Gall wrote:
> On Mon, Jun 04, 2007 at 07:41:56AM +0200, Ola Lundqvist wrote:
> > Hi
> > 
> > On Sun, Jun 03, 2007 at 11:45:54PM +0200, Sylvain Le Gall wrote:
> > > Hello,
> > > 
> > > On Sun, Jun 03, 2007 at 10:06:36PM +0200, Ola Lundqvist wrote:
> > > > Hi
> > > > 
> > > > I thought that 127.0.0.1 actually referred to the local vserver and not
> > > > the mother host. Or am I mistaken here?
> > > > 
> > > 
> > > Well, i just mean that :
> > > giga:~$ sudo vserver yocto enter
> > > [EMAIL PROTECTED]:/# ping 127.0.0.1
> > > PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
> > > 
> > > --- 127.0.0.1 ping statistics ---
> > > 5 packets transmitted, 0 received, 100% packet loss, time 4008ms
> > > 
> > > [EMAIL PROTECTED]:/# 
> > > 
> > > Maybe my vserver is not set up correctly. 127.0.0.1 should indeed
> > > referred to the local vserver but it doesn't seems to. In order to
> > > access this interface, i think you must enable a "lo" interface. But i
> > > am really not sure it is possible.
> > 
> > Yes it is possible. I just tested on my vserver and there 127.0.0.1 refer
> > to the local vserver. I tried ping and ssh to be sure that it was correct.
> > 
> > > Making localhost an alias of the IP will make the localhost a valid host
> > > (even if it is not 127.0.0.1).
> > > 
> > > So it will be possible to "ping localhost". 
> > 
> > I'm not fully sure that I want to do that change as you probably expect
> > data sent to localhost to go to local host and not some network device...
> > 
> 
> OK, i do some research on this topic. I found the kernel option
> "CONFIG_VSERVER_REMAP_SADDR" help to remap the 127.0.0.1 to the IP of
> the vserver NIC. I.e the traffic goes to some network device (even if it
> doesn't really reach it, i think).
> 
> But, this option is not used in debian etch vserver kernel... Too bad.
> 
> Regard
> Sylvain Le Gall
> 
> 

-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to