Sam Przyswa wrote:
> I just installed a vserver kernel on Debian Etch (2.6.18-6-vserver-686)
> compiled by my hosting service Dedibox in France (www.dedibox.fr) for
> there servers. The server have one network interface:
> eth0 184.108.40.206/255.255.255.0
> I got 2 more IP addresses from my hosting service, configured on the
> vserver machine as
> eth0:0 220.127.116.11/255.255.255.224
> eth0:1 18.104.22.168/255.255.255.224
> At this point when I ping these addresses I got echo.
> I created and started one virtual server,
> in /etc/vserver/<server_name>/interface I have:
> dev: eth0:0
> ip: 22.214.171.124
> prefix: 27
If you want to use an alias (which really isn't necessary, unless you
require that ifconfig shows it on the host...), set dev to eth0, and name
> T start the vserver, I go to it with "enter" command it seems work fine,
> I can connect outside services as ssh or ftp but I can't connect the
> vserver's services from internet, as well from the host machine, the
> connection go to the eth0=126.96.36.199 (main interface) instead of the
> eth0:0=188.8.131.52 address.
I doubt that. You need to make sure that your host's services are only
listening on the host's IP address(es), by adding the appropriate
Listen(Address) directives in the configuration. For e.g. sshd, add
ListenAddress 184.108.40.206 to /etc/ssh/sshd_config on the host, restart
sshd on the host, and restart sshd on the guest. You should now be able to
reach the appropriate server.
> What's wrong ?
> Thanks in advance for your help.
-- Daniel Hokka ZakrissonReceived on Wed Apr 23 15:34:19 2008